emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5903db0: Tweak provided-mode-derived-p doc string


From: Lars Ingebrigtsen
Subject: master 5903db0: Tweak provided-mode-derived-p doc string
Date: Sat, 6 Feb 2021 07:54:41 -0500 (EST)

branch: master
commit 5903db0c2049c588f6b15717a8f9bd4c6a6f46a4
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Tweak provided-mode-derived-p doc string
    
    * lisp/subr.el (provided-mode-derived-p): Remove detail about "or
    their aliases", since that seems self-evident (bug#46331) (and
    derived-mode-p works the same, and doesn't have the bit in
    question).
---
 lisp/subr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index c1624aa..f0de6d5 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2228,7 +2228,7 @@ Affects only hooks run in the current buffer."
 ;; PUBLIC: find if the current mode derives from another.
 
 (defun provided-mode-derived-p (mode &rest modes)
-  "Non-nil if MODE is derived from one of MODES or their aliases.
+  "Non-nil if MODE is derived from one of MODES.
 Uses the `derived-mode-parent' property of the symbol to trace backwards.
 If you just want to check `major-mode', use `derived-mode-p'."
   ;; If MODE is an alias, then look up the real mode function first.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]