changeset 64867:889af80d3f70

(menu-bar-showhide-menu): Add `showhide-battery'.
author Juri Linkov <juri@jurta.org>
date Tue, 09 Aug 2005 21:39:34 +0000
parents 6f20cb2a3b72
children b35680d9ef84
files lisp/menu-bar.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Tue Aug 09 21:39:09 2005 +0000
+++ b/lisp/menu-bar.el	Tue Aug 09 21:39:34 2005 +0000
@@ -700,6 +700,11 @@
 (define-key menu-bar-showhide-menu [linecolumn-separator]
   '("--"))
 
+(define-key menu-bar-showhide-menu [showhide-battery]
+  (menu-bar-make-mm-toggle display-battery-mode
+			   "Battery status"
+			   "Display battery status information in mode line"))
+
 (define-key menu-bar-showhide-menu [showhide-date-time]
   (menu-bar-make-mm-toggle display-time-mode
 			   "Date, Time and Mail"