diff man/lispref/menus.texi @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 7d59cb494b73
children 697ef44129c6
line wrap: on
line diff
--- a/man/lispref/menus.texi	Mon Aug 13 11:12:06 2007 +0200
+++ b/man/lispref/menus.texi	Mon Aug 13 11:13:30 2007 +0200
@@ -9,14 +9,14 @@
 @cindex menu
 
 @menu
-* Menu Format::		Format of a menu description.
-* Menubar Format::	How to specify a menubar.
-* Menubar::		Functions for controlling the menubar.
-* Modifying Menus::	Modifying a menu description.
-* Pop-Up Menus::	Functions for specifying pop-up menus.
-* Menu Filters::	Filter functions for the default menubar.
-* Menu Accelerators::	Using and controlling menu accelerator keys
-* Buffers Menu::	The menu that displays the list of buffers.
+* Menu Format::         Format of a menu description.
+* Menubar Format::      How to specify a menubar.
+* Menubar::             Functions for controlling the menubar.
+* Modifying Menus::     Modifying a menu description.
+* Pop-Up Menus::        Functions for specifying pop-up menus.
+* Menu Filters::        Filter functions for the default menubar.
+* Menu Accelerators::   Using and controlling menu accelerator keys
+* Buffers Menu::        The menu that displays the list of buffers.
 @end menu
 
 @node Menu Format
@@ -241,9 +241,9 @@
 
 @example
  ("File"
-  :filter file-menu-filter	; file-menu-filter is a function that takes
-				; one argument (a list of menu items) and
-				; returns a list of menu items
+  :filter file-menu-filter      ; file-menu-filter is a function that takes
+                                ; one argument (a list of menu items) and
+                                ; returns a list of menu items
   [ "Save As..."    write-file]
   [ "Revert Buffer" revert-buffer :active (buffer-modified-p) ]
   [ "Read Only"     toggle-read-only :style toggle :selected buffer-read-only ]
@@ -600,10 +600,10 @@
 activate that item.
 
 @menu
-* Creating Menu Accelerators::	How to add accelerator keys to a menu.
-* Keyboard Menu Traversal::	How to use and modify the keys which are used
-				to traverse the menu structure.
-* Menu Accelerator Functions::	Functions for working with menu accelerators.
+* Creating Menu Accelerators::  How to add accelerator keys to a menu.
+* Keyboard Menu Traversal::     How to use and modify the keys which are used
+                                to traverse the menu structure.
+* Menu Accelerator Functions::  Functions for working with menu accelerators.
 @end menu
 
 @node Creating Menu Accelerators
@@ -620,9 +620,9 @@
 
 @example
 (add-submenu nil '("%_Test"
-		   ["One" (insert "1") :accelerator ?1 :active t]
-		   ["%_Two" (insert "2")]
-		   ["%_3" (insert "3")]))
+                   ["One" (insert "1") :accelerator ?1 :active t]
+                   ["%_Two" (insert "2")]
+                   ["%_3" (insert "3")]))
 @end example
 
 will add a new menu to the top level menubar.  The new menu can be reached
@@ -708,9 +708,9 @@
 (setq menu-accelerator-modifiers '(meta control))
 (setq menu-accelerator-enabled 'menu-force)
 (add-submenu nil '("%_Test"
-		   ["One" (insert "1") :accelerator ?1 :active t]
-		   ["%_Two" (insert "2")]
-		   ["%_3" (insert "3")]))
+                   ["One" (insert "1") :accelerator ?1 :active t]
+                   ["%_Two" (insert "2")]
+                   ["%_3" (insert "3")]))
 @end example
 
 will add the menu "Test" to the top level menubar.  Pressing C-x followed by