diff options
Diffstat (limited to '.config/emacs/init.el')
-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 |