summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-01 18:37:54 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-01 18:37:54 +0300
commit78db850dd61fbf41647e1beb41a5abbf28e7dade (patch)
tree10edf1ee3bc082f70fdb1acb10ade3c2729caaba
parent3786324d3bf8c25e44245356e0ddd66a69303fd4 (diff)
downloadliw-dot-files-78db850dd61fbf41647e1beb41a5abbf28e7dade.tar.gz
Change: which-function-mode to programming modes
-rw-r--r--emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
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)