summaryrefslogtreecommitdiff
path: root/lisp/which-func.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/which-func.el')
-rw-r--r--lisp/which-func.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/which-func.el b/lisp/which-func.el
index 782882d1be4..b77f0bcd65b 100644
--- a/lisp/which-func.el
+++ b/lisp/which-func.el
@@ -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