summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-04-17 22:14:54 +0200
committerAlan Pearce2023-04-17 22:14:54 +0200
commitf73b65dcd3b8f0fd7a60b7a30967a6777230f23f (patch)
tree499d4c4b52877fbdeaeecb8cdf7490daa6a7de42 /user
parenta9cbb254fb271f75e865ad7f5673c39b58c444bb (diff)
downloadnixfiles-f73b65dcd3b8f0fd7a60b7a30967a6777230f23f.tar.lz
nixfiles-f73b65dcd3b8f0fd7a60b7a30967a6777230f23f.tar.zst
nixfiles-f73b65dcd3b8f0fd7a60b7a30967a6777230f23f.zip
emacs: add shortcut to eval top-level form at point
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 45369fad..9796f685 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1208,7 +1208,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   "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)