Enable which-function-mode for all major modes
This commit is contained in:
parent
5b4b911b02
commit
50e430f2e6
1 changed files with 0 additions and 1 deletions
|
@ -100,7 +100,6 @@ This functions should be added to the hooks of major modes for programming."
|
||||||
|
|
||||||
;; show the name of the current function definition in the modeline
|
;; show the name of the current function definition in the modeline
|
||||||
(require 'which-func)
|
(require 'which-func)
|
||||||
(add-to-list 'which-func-modes 'ruby-mode)
|
|
||||||
(which-function-mode 1)
|
(which-function-mode 1)
|
||||||
|
|
||||||
;; in Emacs 24 programming major modes generally derive from a common
|
;; in Emacs 24 programming major modes generally derive from a common
|
||||||
|
|
Loading…
Reference in a new issue