+2002-05-25 Miles Bader <miles@gnu.org>
+
+ * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
+ (menu-bar-showhide-fringe-menu-customize-right)
+ (menu-bar-showhide-fringe-menu-customize-disable):
+ Use proper calling convention for `customize-set-value'.
+ Require `fringe' before setting variable.
+
2002-05-25 Kim F. Storm <storm@cua.dk>
* emulation/cua-base.el (cua--self-insert-char-p): New function.
(defun menu-bar-showhide-fringe-menu-customize-left ()
"Make fringes appear only on the left."
(interactive)
- (customize-set-variable 'fringe-mode nil '(nil . 0)))
+ (require 'fringe)
+ (customize-set-variable 'fringe-mode '(nil . 0)))
(define-key menu-bar-showhide-fringe-menu [left]
'(menu-item "On the Left" menu-bar-showhide-fringe-menu-customize-left
(defun menu-bar-showhide-fringe-menu-customize-right ()
"Make fringes appear only on the right."
(interactive)
- (customize-set-variable 'fringe-mode nil '(0 . nil)))
+ (require 'fringe)
+ (customize-set-variable 'fringe-mode '(0 . nil)))
(define-key menu-bar-showhide-fringe-menu [right]
'(menu-item "On the Right" menu-bar-showhide-fringe-menu-customize-right
(defun menu-bar-showhide-fringe-menu-customize-disable ()
"Make fringes disappear."
(interactive)
- (customize-set-variable 'fringe-mode nil 0))
+ (require 'fringe)
+ (customize-set-variable 'fringe-mode 0))
(define-key menu-bar-showhide-fringe-menu [none]
'(menu-item "None" menu-bar-showhide-fringe-menu-customize-disable