hchbaw/eval-sexp-fu.el

preceding-sexp is deprecated in emacs 25

shlomiv opened this issue · 3 comments

Hey, its not yet a bug, but you should probably move away from preceding-sexp for emacs 25.

Warning (bytecomp): ‘preceding-sexp’ is an obsolete function (as of 25.1); use ‘elisp--preceding-sexp’ instead.

Add an if condition to use different version function?

(if (version< emacs-version "24")
      'preceding-sexp
    'elisp--preceding-sexp)

Now Emacs 25.1 is released. I think really should update now.

It could be resolved by #3 and #5, so please reopen this issue if it does not work.

Anyway thank you very much for your reports.