changeset 25180:1a84afcdb8f9

(auto-show-mode): Fix :set.
author Dave Love <fx@gnu.org>
date Thu, 05 Aug 1999 19:12:08 +0000
parents c7ee317291f8
children 847441efad8d
files lisp/auto-show.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/auto-show.el	Thu Aug 05 18:50:18 1999 +0000
+++ b/lisp/auto-show.el	Thu Aug 05 19:12:08 1999 +0000
@@ -49,7 +49,7 @@
 
 Setting this variable directly does not take effect;
 use either \\[customize] or the function `auto-show-mode'."
-  :set (lambda (symbol value) (auto-show-mode value))
+  :set (lambda (symbol value) (auto-show-mode (if value 1 0)))
   :require 'auto-show
   :initialize 'custom-initialize-default
   :link '(emacs-commentary-link "auto-show.el")