emacs-diffs
[Top][All Lists]
Advanced

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

master a525c9f5c9: ; Fix doc strings in help-fns.el


From: Eli Zaretskii
Subject: master a525c9f5c9: ; Fix doc strings in help-fns.el
Date: Mon, 4 Jul 2022 08:14:01 -0400 (EDT)

branch: master
commit a525c9f5c96c2798185bb52ab2894305fb32966f
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix doc strings in help-fns.el
    
    * lisp/help-fns.el (help-fns-edit-mode-done)
    (help-fns-edit-mode-cancel): Doc fixes.
---
 lisp/help-fns.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index fc691e7642..17354783ca 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1402,7 +1402,7 @@ it is displayed along with the global value."
   :interactive nil)
 
 (defun help-fns-edit-mode-done (&optional kill)
-  "Update the value of the variable and kill the buffer.
+  "Update the value of the variable being edited and kill the edit buffer.
 If KILL (the prefix), don't update the value, but just kill the
 current buffer."
   (interactive "P" help-fns--edit-value-mode)
@@ -1423,7 +1423,8 @@ current buffer."
         (revert-buffer)))))
 
 (defun help-fns-edit-mode-cancel ()
-  "Kill the buffer without updating the value."
+  "Kill the edit buffer and cancel editing of the value.
+This cancels value editing without updating the value."
   (interactive nil help-fns--edit-value-mode)
   (help-fns-edit-mode-done t))
 



reply via email to

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