diff options
author | Thanos Apollo <[email protected]> | 2024-08-21 20:30:39 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-21 20:30:39 +0300 |
commit | b01d116b2fc4ff2dcc966ee4bd4559d2b822f4a9 (patch) | |
tree | 9963dd1a3f960590b47ea5c1695107c5c0c3f0ea /.config/emacs | |
parent | 3f1071bc6f647b444acb672ca6123c2e2765e5fb (diff) |
emacs: Update eshell hooks.
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 5411c67..ba92084 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -780,7 +780,8 @@ ("C-l" . 'thanos/eshell-clear)) :hook ((eshell-mode . (lambda () (thanos/set-eshell-aliases thanos/aliases) - (display-line-numbers-mode -1))))) + (when (bound-and-true-p display-line-numbers-mode) + (display-line-numbers-mode -1)))))) (use-package eshell-git-prompt :straight nil |