From: Eli Zaretskii Date: Mon, 4 Jul 2022 12:13:12 +0000 (+0300) Subject: ; Fix doc strings in help-fns.el X-Git-Tag: emacs-29.0.90~1447^2~1205 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a525c9f5c96c2798185bb52ab2894305fb32966f;p=emacs.git ; Fix doc strings in help-fns.el * lisp/help-fns.el (help-fns-edit-mode-done) (help-fns-edit-mode-cancel): Doc fixes. --- 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))