]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
use which-function-mode
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 11 Feb 2022 16:06:50 +0000 (17:06 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Sat, 26 Feb 2022 10:49:45 +0000 (11:49 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index b606f17449b200a2fa4bc8cec9357d6b979839f7..c2838272dd40e71ea4ae6a9e482ed732ab30387b 100644 (file)
--- 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