From 60ba716bf500ca21cdf5a8f83101449a1cbe3413 Mon Sep 17 00:00:00 2001 From: Tom Dalziel Date: Mon, 14 Aug 2023 23:22:46 +0100 Subject: [PATCH] Advise `lisp-eval-last-sexp` like elisp equivalent Fixes issue raised in #1541 --- evil-integration.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evil-integration.el b/evil-integration.el index 7aa04072..02f7e52a 100644 --- a/evil-integration.el +++ b/evil-integration.el @@ -240,7 +240,8 @@ (apply command args))) (advice-add 'elisp--preceding-sexp :around 'evil--preceding-sexp '((name . evil))) - (advice-add 'pp-last-sexp :around 'evil--preceding-sexp '((name . evil))))) + (advice-add 'pp-last-sexp :around 'evil--preceding-sexp '((name . evil))) + (advice-add 'lisp-eval-last-sexp :around 'evil--preceding-sexp '((name . evil))))) ;; Show key (defadvice quail-show-key (around evil activate)