Commit 2b7b0d15 authored by Karl Heuer's avatar Karl Heuer
Browse files

(which-func-mode-global): Make :set function

more reliable.
parent 98743206
......@@ -106,7 +106,7 @@ Zero means compute the Imenu menu regardless of size."
"*Toggle `which-func-mode'.
You must modify via \\[customize] for this variable to have an effect."
:set #'(lambda (symbol value)
(which-func-mode (or value 0)))
(which-func-mode (if value 1 0)))
:initialize 'custom-initialize-default
:type 'boolean
:group 'which-func
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment