summaryrefslogtreecommitdiff
path: root/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init.el')
-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)