From: Andreas Gerler Date: Fri, 11 Feb 2022 16:06:50 +0000 (+0100) Subject: use which-function-mode X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=dec37610ae6836bcf9e0dbd5a0432cfad890dec2;p=emacsconfig.git use which-function-mode Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index b606f174..c2838272 100644 --- a/bba.org +++ b/bba.org @@ -2221,6 +2221,7 @@ taken from http://doc.norang.ca/org-mode.org (add-hook 'org-mode-hook (lambda () (auto-fill-mode) + (which-function-mode) (flyspell-mode -1) (define-key org-mode-map "\C-h\C-y" '(lambda () (interactive) (find-file "~/.emacs.d/snippets/org-mode.org"))) (when (display-graphic-p) @@ -2967,7 +2968,8 @@ list who can decrypt a file: (setq cperl-continued-statement-offset 4) (setq cperl-indent-level 4) (setq cperl-indent-parens-as-block t) - (setq cperl-tab-always-indent t))))) + (setq cperl-tab-always-indent t) + (which-function-mode))))) #+END_SRC