From bade77a93487248dbc4d670057292ca098ac21f6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 24 Apr 2025 15:07:34 +0300 Subject: [PATCH] ; 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) --- lisp/cus-edit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" -- 2.39.5