changeset 80366:4e64068576f8

(menu-bar-showhide-fringe-ind-menu) [customize]: Add radio button.
author Andreas Schwab <schwab@suse.de>
date Sun, 23 Mar 2008 11:59:46 +0000
parents 13bd74fbe1c7
children d92328c1e028
files lisp/ChangeLog lisp/menu-bar.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Mar 23 11:39:33 2008 +0000
+++ b/lisp/ChangeLog	Sun Mar 23 11:59:46 2008 +0000
@@ -3,6 +3,7 @@
 	* menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]: Fix
 	radio button condition.
 	[box]: Likewise.
+	[customize]: Add radio button.
 
 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
 
--- a/lisp/menu-bar.el	Sun Mar 23 11:39:33 2008 +0000
+++ b/lisp/menu-bar.el	Sun Mar 23 11:59:46 2008 +0000
@@ -745,7 +745,11 @@
   '(menu-item "Other (Customize)"
 	      menu-bar-showhide-fringe-ind-customize
 	      :help "Additional choices available through Custom buffer"
-	      :visible (display-graphic-p)))
+	      :visible (display-graphic-p)
+	      :button (:radio . (not (member indicate-buffer-boundaries
+					     '(nil left right
+					       ((top . left) (bottom . right))
+					       ((t . right) (top . left))))))))
 
 (defun menu-bar-showhide-fringe-ind-mixed ()
   "Display top and bottom indicators in opposite fringes, arrows in right."