emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 02c53b9aab0: ; * lisp/help-at-pt.el (display-local-help): Doc f


From: Eli Zaretskii
Subject: emacs-30 02c53b9aab0: ; * lisp/help-at-pt.el (display-local-help): Doc fix.
Date: Wed, 4 Dec 2024 12:51:58 -0500 (EST)

branch: emacs-30
commit 02c53b9aab0f255e7fac39660febbbbfbc59ba25
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/help-at-pt.el (display-local-help): Doc fix.
---
 lisp/help-at-pt.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lisp/help-at-pt.el b/lisp/help-at-pt.el
index 95d0fafc544..dcad09ef6ea 100644
--- a/lisp/help-at-pt.el
+++ b/lisp/help-at-pt.el
@@ -86,20 +86,20 @@ If this produces no string either, return nil."
 
 ;;;###autoload
 (defun display-local-help (&optional inhibit-warning describe-button)
-  "Display local help in the echo area.
-This command, by default, displays a short help message, namely
-the string produced by the `kbd-help' property at point.  If
-`kbd-help' does not produce a string, but the `help-echo'
-property does, then that string is printed instead.
+  "Display in the echo area `kbd-help' or `help-echo' text at point.
+This command displays the help message which is the string produced
+by the `kbd-help' property at point.  If `kbd-help' at point does not
+produce a string, but the `help-echo' property does, then that string
+is displayed instead.
 
 The string is passed through `substitute-command-keys' before it
 is displayed.
 
-If INHIBIT-WARNING is non-nil, this prevents display of a message
-in case there is no help.
+If INHIBIT-WARNING is non-nil, this prevents display of the warning
+message in case there is no help properties at point.
 
 If DESCRIBE-BUTTON in non-nil (interactively, the prefix arg), and
-there's a button/widget at point, pop a buffer describing that
+there's a button/widget at point, pop up a buffer describing that
 button/widget instead."
   (interactive (list nil current-prefix-arg))
   (let ((help (help-at-pt-kbd-string)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]