emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/crux b401f45 050/112: [Fix #35] Replace a deprecated funct


From: ELPA Syncer
Subject: [nongnu] elpa/crux b401f45 050/112: [Fix #35] Replace a deprecated function
Date: Wed, 11 Aug 2021 09:57:51 -0400 (EDT)

branch: elpa/crux
commit b401f452450456266e6c74b012e38af77ba04aa1
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]