diff options
author | jao <jao@gnu.org> | 2022-01-11 23:49:14 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-01-11 23:49:14 +0000 |
commit | 654dc5cbc78fc8abb35f6020aa07f287a6002cc2 (patch) | |
tree | dff871451e14213f943f4a7ffdb347806659ffb2 /init.org | |
parent | 1378aaead0c1cc60e634972931d4a87b67fdca97 (diff) | |
download | elibs-654dc5cbc78fc8abb35f6020aa07f287a6002cc2.tar.gz elibs-654dc5cbc78fc8abb35f6020aa07f287a6002cc2.tar.bz2 |
nits
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1834,9 +1834,11 @@ :init (setq eshell-directory-name "~/.emacs.d/eshell") (setq eshell-hist-ignoredups 'erase) - :config - (add-hook 'eshell-mode-hook - (lambda () (setq outline-regexp eshell-prompt-regexp)))) + + (defun jao-eshell--outline () + (setq-local outline-regexp eshell-prompt-regexp)) + + :hook (eshell-mode . jao-eshell--outline)) #+end_src ***** Colors #+begin_src emacs-lisp |