Skip to content

Commit

Permalink
Advise lisp-eval-last-sexp like elisp equivalent
Browse files Browse the repository at this point in the history
Fixes issue raised in #1541
  • Loading branch information
tomdl89 committed Aug 14, 2023
1 parent b7b4961 commit 60ba716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion evil-integration.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 60ba716

Please sign in to comment.