Commit 00cb70dc authored by Miles Bader's avatar Miles Bader
Browse files

(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.
parent e3f01f30
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.
......
......@@ -679,7 +679,8 @@ Do the same for the keys of the same name."
(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
......@@ -690,7 +691,8 @@ Do the same for the keys of the same name."
(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
......@@ -701,7 +703,8 @@ Do the same for the keys of the same name."
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment