[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 857f73e: Minor typo corrections in doc strings
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 857f73e: Minor typo corrections in doc strings |
Date: |
Mon, 12 Oct 2015 17:50:07 +0000 |
branch: master
commit 857f73eeaf18bde04a14e334d55307050d541147
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Minor typo corrections in doc strings
* lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
Doc fixes.
---
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 63dbe40..42f48c7 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -2267,8 +2267,8 @@ See `menu-bar-mode' for more information."
"Popup the given menu and call the selected option.
MENU can be a keymap, an easymenu-style menu or a list of keymaps as for
`x-popup-menu'.
-The menu is shown at the place where POSITION specifies. About
-the form of POSITION, see `popup-menu-normalize-position'.
+The menu is shown at the place where POSITION specifies.
+For the form of POSITION, see `popup-menu-normalize-position'.
PREFIX is the prefix argument (if any) to pass to the command.
FROM-MENU-BAR, if non-nil, means we are dropping one of menu-bar's menus."
(let* ((map (cond
@@ -2337,9 +2337,9 @@ FROM-MENU-BAR, if non-nil, means we are dropping one of
menu-bar's menus."
(defun popup-menu-normalize-position (position)
"Convert the POSITION to the form which `popup-menu' expects internally.
-POSITION can an event, a posn- value, a value having
+POSITION can be an event, a posn- value, a value having the
form ((XOFFSET YOFFSET) WINDOW), or nil.
-If nil, the current mouse position is used."
+If nil, the current mouse position is used, or nil if there is no mouse."
(pcase position
;; nil -> mouse cursor position
(`nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 857f73e: Minor typo corrections in doc strings,
Eli Zaretskii <=