From b547c78a1e34fe750f746163c7b6060f5433da6f Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 28 Jun 2024 12:16:57 +0200 Subject: [PATCH] Fix link to major mode variable in docstring * lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring): Fix link to major mode variable in docstring. (Bug#71815) (cherry picked from commit 73c1252bb6b7cc61d9f992818568d3c57de4ff67) --- lisp/emacs-lisp/easy-mmode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 081619002c8..b0cf7318d3c 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 `%s'. +evaluate the variable `%s'. The mode's hook is called both when the mode is enabled and when it is disabled.") -- 2.39.2