From a525c9f5c96c2798185bb52ab2894305fb32966f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 4 Jul 2022 15:13:12 +0300 Subject: [PATCH] ; 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 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)) -- 2.39.2