From: Stefan Kangas Date: Mon, 8 Jul 2024 10:15:05 +0000 (+0200) Subject: Revert "Fix link to major mode variable in docstring" X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~751 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=84552ff395c133bebfa4b542485317236230f1f5;p=emacs.git Revert "Fix link to major mode variable in docstring" This reverts commit 73c1252bb6b7cc61d9f992818568d3c57de4ff67. This will sometimes say "the variable `(default-value 'global-auto-revert-mode)'". Problem reported by Eshel Yaron . --- diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 7006ae6c785..944a74a91ee 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -91,7 +91,7 @@ Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate the variable `%s'. +evaluate `%s'. The mode's hook is called both when the mode is enabled and when it is disabled.")