From 78db850dd61fbf41647e1beb41a5abbf28e7dade Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 1 May 2020 18:37:54 +0300 Subject: Change: which-function-mode to programming modes --- emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.d/init.el b/emacs.d/init.el index 55479d9..b056fe1 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -162,6 +162,8 @@ ;; :foreground "#ff0000") +;; Show current function. +(add-hook 'prog-mode-hook 'which-function-mode) ;; Show matching parens. (add-hook 'text-mode-hook 'show-paren-mode) -- cgit v1.2.1