Created
March 1, 2013 16:55
-
-
Save sluchin/5066033 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 関数名表示をトグルする | |
(defun toggle-which-func-mode () | |
(interactive) | |
(if which-function-mode | |
(which-function-mode -1) | |
(which-function-mode 1)) | |
(if which-function-mode | |
(setq-default header-line-format | |
'(which-function-mode ("" which-func-format))) | |
(setq-default header-line-format nil))) | |
(define-key global-map (kbd "<f9>") 'toggle-which-func-mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment