]> git.eshelyaron.com Git - emacs.git/commitdiff
(Active Keymaps): Fix pseudo-Lisp syntax.
authorEli Zaretskii <eliz@gnu.org>
Fri, 5 May 2006 12:27:06 +0000 (12:27 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 5 May 2006 12:27:06 +0000 (12:27 +0000)
(Searching Keymaps): Fix pseudo-Lisp description of keymap search.

lispref/keymaps.texi

index b1e2f7fbaeacc7e49feb8f97edf93e41fceb5a6c..39a57eddf130df77dfc0537f240a2180b3f060c2 100644 (file)
@@ -561,7 +561,7 @@ pseudo-Lisp description of how this process works:
             (@var{find-in-any} emulation-mode-map-alists)
             (@var{find-in-any} minor-mode-overriding-map-alist)
             (@var{find-in-any} minor-mode-map-alist)
-            (if (get-text-property (point) 'local-map))
+            (if (get-text-property (point) 'local-map)
                 (@var{find-in} (get-text-property (point) 'local-map))
               (@var{find-in} (current-local-map))))))
     (@var{find-in} (current-global-map)))
@@ -670,14 +670,15 @@ description of the order in which the active keymaps are searched:
             (@var{find-in-any} emulation-mode-map-alists)
             (@var{find-in-any} minor-mode-overriding-map-alist)
             (@var{find-in-any} minor-mode-map-alist)
-            (@var{find-in} (get-text-property (point) 'local-map))
-            (@var{find-in} (current-local-map)))))
+            (if (get-text-property (point) 'local-map)
+                (@var{find-in} (get-text-property (point) 'local-map))
+              (@var{find-in} (current-local-map))))))
     (@var{find-in} (current-global-map)))
 @end lisp
 
 @noindent
 The @var{find-in} and @var{find-in-any} are pseudo functions that
-searches in one keymap respectively an alist of keymaps.
+search in one keymap and in an alist of keymaps, respectively.
 
 @enumerate
 @item