joddie / pcre2el

convert between PCRE, Emacs and rx regexp syntax
GNU General Public License v3.0
242 stars 25 forks source link

Library fails to load #35

Closed alphapapa closed 6 years ago

alphapapa commented 6 years ago

Hi,

I am getting this error when trying to (require 'pcre2el):

Debugger entered--Lisp error: (void-function record)
  (record (quote rxt-choice) nil)
  (defvar rxt-empty (record (quote rxt-choice) nil))
  require(pcre2el)

However, if I open pcre2el.el and eval-buffer on it, then I can require it without error.

Thanks.

alphapapa commented 6 years ago

Nevermind, this was caused by installing the package under Emacs 26 and then trying to load it in Emacs 25. The cl-defstruct changes in Emacs 26...