summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2024-01-07 13:49:40 -0500
committerKjetil Orbekk <kj@orbekk.com>2024-01-07 13:49:53 -0500
commitf433261e3147c55975db36f6bb47f81192767a24 (patch)
tree9f9f504845d9e141055aaf544300211039b89972
parent7a07cdd61d626b42f2b05ef8fb843a29b57ed580 (diff)
fix
-rw-r--r--emacs/.config/emacs-kj/lisp/kj-history.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.config/emacs-kj/lisp/kj-history.el b/emacs/.config/emacs-kj/lisp/kj-history.el
index 3b0bb68..31cd8c1 100644
--- a/emacs/.config/emacs-kj/lisp/kj-history.el
+++ b/emacs/.config/emacs-kj/lisp/kj-history.el
@@ -38,7 +38,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