summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2024-01-07 13:52:54 -0500
committerKjetil Orbekk <kj@orbekk.com>2024-01-07 13:52:54 -0500
commit9db16f226c39ce199a0b74c94bbd3f72e6dd71b8 (patch)
treed3a4170dce24375367fdb4b2c065508506a3cfdc
parent5a71c756394860f344bca6548bcfdc8d6af476ac (diff)
fix
-rw-r--r--emacs/.config/emacs-v2/lisp/kj-history.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.config/emacs-v2/lisp/kj-history.el b/emacs/.config/emacs-v2/lisp/kj-history.el
index 5c9c0fe..9805aa1 100644
--- a/emacs/.config/emacs-v2/lisp/kj-history.el
+++ b/emacs/.config/emacs-v2/lisp/kj-history.el
@@ -39,7 +39,7 @@
(if (not
(or (and (minibufferp)
(eq minibuffer-history-variable 'shell-command-history))
- (derived-mode-p '(term-mode shell-mode))
+ (derived-mode-p 'term-mode 'shell-mode)
))
(call-interactively 'consult-history)
(pcase-let* ((bol