; * lisp/help-fns.el (help-fns-edit-variable): Revert buffer.

This commit is contained in:
Gerd Möllmann 2025-03-15 14:52:51 +01:00
parent 9e670088c7
commit 3860562a71

View file

@ -1569,7 +1569,8 @@ it is displayed along with the global value."
(let ((str (read-string-from-buffer
(format ";; Edit the `%s' variable." (nth 0 var))
(prin1-to-string (nth 1 var)))))
(set (nth 0 var) (read str)))))
(set (nth 0 var) (read str))
(revert-buffer))))
(autoload 'shortdoc-help-fns-examples-function "shortdoc")