changeset 23355:4486a6940607

(which-func-mode-global): Make :set function more reliable.
author Karl Heuer <kwzh@gnu.org>
date Wed, 30 Sep 1998 19:15:56 +0000
parents 4a3a39dff0ed
children a05ab8915917
files lisp/which-func.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/which-func.el	Wed Sep 30 19:15:17 1998 +0000
+++ b/lisp/which-func.el	Wed Sep 30 19:15:56 1998 +0000
@@ -106,7 +106,7 @@
   "*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