]> git.eshelyaron.com Git - emacs.git/commit
Allow provided-mode-derived-p to work on aliases
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Feb 2021 11:03:43 +0000 (12:03 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Feb 2021 11:03:47 +0000 (12:03 +0100)
commit2476abc1f24f1b2385648cfb08cd9f178422497d
treef8387a7ce2df6e3b38e05e9e6484a4d0bf0db419
parent23a7da9148c84dbcc228dda37c9bcebfc2a004d2
Allow provided-mode-derived-p to work on aliases

* lisp/subr.el (provided-mode-derived-p): Allow this to work on
modes that are aliases of other modes (bug#46331).  For instance:
(provided-mode-derived-p 'javascript-mode 'prog-mode)
lisp/subr.el