summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-09 15:31:06 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-09 15:31:06 +0200
commit1c0a4e2d39723e417ee71ce9faa0b67a7cb38e98 (patch)
treecc1af16955a9d8f6c1b29cb586cc3c2320a6ee14 /.config/emacs/init.el
parentd5e6a0d76d41d6fd5eb51823dd2f966382ec6681 (diff)
emacs: Check for lisp-data-mode, not common-lisp-mode
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index da45954..43e14c0 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -231,7 +231,7 @@ the selection. This is nearly identical to ‘evil-surround-function’
except it provides a useful prompt, and is language-aware."
(let ((list-name (or (evil-surround-read-from-minibuffer "Function name: ")
"")))
- (if (derived-mode-p 'lisp-mode 'common-lisp-mode 'emacs-lisp-mode)
+ (if (derived-mode-p 'lisp-mode 'lisp-data-mode 'emacs-lisp-mode)
(cons (format "(%s " list-name) ")")
(cons (format "%s(" (or list-name "")) ")"))))