summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-07-04 15:13:12 +0300
committerEli Zaretskii <eliz@gnu.org>2022-07-04 15:13:12 +0300
commita525c9f5c96c2798185bb52ab2894305fb32966f (patch)
tree5aeeb8bda3f7e7c4825a805b69cca95b075013ec /lisp/help-fns.el
parent603de9a38ef92bb6583973e6c874f551c185d3bd (diff)
downloademacs-a525c9f5c96c2798185bb52ab2894305fb32966f.tar.gz
; Fix doc strings in help-fns.el
* lisp/help-fns.el (help-fns-edit-mode-done) (help-fns-edit-mode-cancel): Doc fixes.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index fc691e76424..17354783ca0 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))