branch: elpa/crux commit b401f452450456266e6c74b012e38af77ba04aa1 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
[Fix #35] Replace a deprecated function --- crux.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crux.el b/crux.el index ed3e306..e3aab64 100644 --- a/crux.el +++ b/crux.el @@ -313,7 +313,7 @@ point reaches the beginning or end of the buffer, stop there." (defun crux-eval-and-replace () "Replace the preceding sexp with its value." (interactive) - (let ((value (eval (preceding-sexp)))) + (let ((value (eval (elisp--preceding-sexp)))) (backward-kill-sexp) (insert (format "%s" value))))