From 2b7b0d15850f0b42ce5ffe8947bfd82edb745464 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 30 Sep 1998 19:15:56 +0000 Subject: [PATCH] (which-func-mode-global): Make :set function more reliable. --- lisp/which-func.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2