aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-10-12 20:49:05 +0300
committerEli Zaretskii2015-10-12 20:49:05 +0300
commit857f73eeaf18bde04a14e334d55307050d541147 (patch)
tree638cd1e10a0ee3e193453d69f451888706204f2b
parent402ef224dc68d1ff09ee9bd9d44ce920bfa6ce1f (diff)
downloademacs-857f73eeaf18bde04a14e334d55307050d541147.tar.gz
emacs-857f73eeaf18bde04a14e334d55307050d541147.zip
Minor typo corrections in doc strings
* lisp/menu-bar.el (popup-menu, popup-menu-normalize-position): Doc fixes.
-rw-r--r--lisp/menu-bar.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 63dbe40aa69..42f48c784e1 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -2267,8 +2267,8 @@ See `menu-bar-mode' for more information."
2267 "Popup the given menu and call the selected option. 2267 "Popup the given menu and call the selected option.
2268MENU can be a keymap, an easymenu-style menu or a list of keymaps as for 2268MENU can be a keymap, an easymenu-style menu or a list of keymaps as for
2269`x-popup-menu'. 2269`x-popup-menu'.
2270The menu is shown at the place where POSITION specifies. About 2270The menu is shown at the place where POSITION specifies.
2271the form of POSITION, see `popup-menu-normalize-position'. 2271For the form of POSITION, see `popup-menu-normalize-position'.
2272PREFIX is the prefix argument (if any) to pass to the command. 2272PREFIX is the prefix argument (if any) to pass to the command.
2273FROM-MENU-BAR, if non-nil, means we are dropping one of menu-bar's menus." 2273FROM-MENU-BAR, if non-nil, means we are dropping one of menu-bar's menus."
2274 (let* ((map (cond 2274 (let* ((map (cond
@@ -2337,9 +2337,9 @@ FROM-MENU-BAR, if non-nil, means we are dropping one of menu-bar's menus."
2337 2337
2338(defun popup-menu-normalize-position (position) 2338(defun popup-menu-normalize-position (position)
2339 "Convert the POSITION to the form which `popup-menu' expects internally. 2339 "Convert the POSITION to the form which `popup-menu' expects internally.
2340POSITION can an event, a posn- value, a value having 2340POSITION can be an event, a posn- value, a value having the
2341form ((XOFFSET YOFFSET) WINDOW), or nil. 2341form ((XOFFSET YOFFSET) WINDOW), or nil.
2342If nil, the current mouse position is used." 2342If nil, the current mouse position is used, or nil if there is no mouse."
2343 (pcase position 2343 (pcase position
2344 ;; nil -> mouse cursor position 2344 ;; nil -> mouse cursor position
2345 (`nil 2345 (`nil