all repos — nixfiles @ f73b65dcd3b8f0fd7a60b7a30967a6777230f23f

System and user configuration, managed by nix and home-manager

emacs: add shortcut to eval top-level form at point
Alan Pearce alan@alanpearce.eu
Mon, 17 Apr 2023 22:14:54 +0200
commit

f73b65dcd3b8f0fd7a60b7a30967a6777230f23f

parent

a9cbb254fb271f75e865ad7f5673c39b58c444bb

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1208,7 +1208,8 @@ "gl" #'magit-log-buffer-file   "bi" #'ibuffer
   "bz" #'bury-buffer
   "iu" #'insert-char
-  "xe" #'eval-last-sexp)
+  "xe" #'eval-last-sexp
+  "xx" #'eval-defun)
 
 (load (expand-file-name "mail.el" user-emacs-directory) :noerror :nomessage)