changeset 93155:09cc3d0d41ce

(menu-bar-showhide-fringe-ind-menu) [customize]: Add radio button.
author Andreas Schwab <schwab@suse.de>
date Sun, 23 Mar 2008 11:44:23 +0000
parents 3891784e87be
children 3ef12fa772f2
files lisp/ChangeLog lisp/menu-bar.el
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Mar 23 11:21:14 2008 +0000
+++ b/lisp/ChangeLog	Sun Mar 23 11:44:23 2008 +0000
@@ -1,8 +1,9 @@
 2008-03-23  Andreas Schwab  <schwab@suse.de>
 
-	* menu-bar.el (menu-bar-showhide-fringe-ind-menu): Fix radio
-	button condition.
-	(menu-bar-showhide-fringe-ind-menu): Likewise.
+	* menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]: Fix
+	radio button condition.
+	[box]: Likewise.
+	[customize]: Add radio button.
 
 2008-03-23  Jay Belanger  <jay.p.belanger@gmail.com>
 
--- a/lisp/menu-bar.el	Sun Mar 23 11:21:14 2008 +0000
+++ b/lisp/menu-bar.el	Sun Mar 23 11:44:23 2008 +0000
@@ -748,7 +748,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."