emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/crux e0457f6 103/112: Fix a major mode check


From: ELPA Syncer
Subject: [nongnu] elpa/crux e0457f6 103/112: Fix a major mode check
Date: Wed, 11 Aug 2021 09:58:02 -0400 (EDT)

branch: elpa/crux
commit e0457f62b1de50be008a7d6d625cd4a40948cbfa
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>

    Fix a major mode check
---
 crux.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crux.el b/crux.el
index b46c6a0..ca9d863 100644
--- a/crux.el
+++ b/crux.el
@@ -222,7 +222,7 @@ If the process in that buffer died, ask to restart."
                              (apply crux-shell-func (list 
crux-shell-buffer-name)))
                            (format "*%s*" crux-shell-buffer-name))
   (when (and (null (get-buffer-process (current-buffer)))
-             (not (eq major-mode 'eshell)) ; eshell has no process
+             (not (eq major-mode 'eshell-mode)) ; eshell has no process
              (y-or-n-p "The process has died.  Do you want to restart it? "))
     (kill-buffer-and-window)
     (crux-visit-shell-buffer)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]