diff options
| author | Eli Zaretskii | 2015-10-12 20:49:05 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-10-12 20:49:05 +0300 |
| commit | 857f73eeaf18bde04a14e334d55307050d541147 (patch) | |
| tree | 638cd1e10a0ee3e193453d69f451888706204f2b | |
| parent | 402ef224dc68d1ff09ee9bd9d44ce920bfa6ce1f (diff) | |
| download | emacs-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.el | 8 |
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. |
| 2268 | MENU can be a keymap, an easymenu-style menu or a list of keymaps as for | 2268 | MENU can be a keymap, an easymenu-style menu or a list of keymaps as for |
| 2269 | `x-popup-menu'. | 2269 | `x-popup-menu'. |
| 2270 | The menu is shown at the place where POSITION specifies. About | 2270 | The menu is shown at the place where POSITION specifies. |
| 2271 | the form of POSITION, see `popup-menu-normalize-position'. | 2271 | For the form of POSITION, see `popup-menu-normalize-position'. |
| 2272 | PREFIX is the prefix argument (if any) to pass to the command. | 2272 | PREFIX is the prefix argument (if any) to pass to the command. |
| 2273 | FROM-MENU-BAR, if non-nil, means we are dropping one of menu-bar's menus." | 2273 | FROM-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. |
| 2340 | POSITION can an event, a posn- value, a value having | 2340 | POSITION can be an event, a posn- value, a value having the |
| 2341 | form ((XOFFSET YOFFSET) WINDOW), or nil. | 2341 | form ((XOFFSET YOFFSET) WINDOW), or nil. |
| 2342 | If nil, the current mouse position is used." | 2342 | If 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 |