summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
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 "")) ")"))))