From: Eli Zaretskii Date: Thu, 24 Apr 2025 12:07:34 +0000 (+0300) Subject: ; Improve documentation of last change X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bade77a93487248dbc4d670057292ca098ac21f6;p=emacs.git ; Improve documentation of last change * etc/NEWS: Add entry about 'Custom-dirlocals-mode'. * lisp/cus-edit.el (Custom-dirlocals-mode): Doc fix. (Bug#77228) (cherry picked from commit ccfb40a13d3d1d43990b9b659502a6ba2046059a) --- diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 377a701ec8b..2b76c2b9b19 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -6110,8 +6110,8 @@ Moves point into the widget that holds the value." (add-hook 'widget-forward-hook #'custom-dirlocals-maybe-update-cons nil t)) (define-derived-mode Custom-dirlocals-mode nil "Custom dirlocals" - "Major mode for customize Directory Local Variables in the current directory. -Entry to this mode calls the value of `Custom-mode-hook' if that value + "Major mode for customizing Directory Local Variables in current directory. +Entry to this mode calls the value of `Custom-mode-hook' if its value is non-nil. \\{custom-dirlocals-map}"