]> git.eshelyaron.com Git - emacs.git/commit
Adjust affected callers of derived-mode-p` to use the new convention
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Nov 2023 00:09:17 +0000 (19:09 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 23 Nov 2023 16:59:49 +0000 (11:59 -0500)
commit7705bdfa5b89f78dab049f73f636b9680a3c12bc
tree21549d306a54035e519314c91e6debb506c20288
parente6556db4200ccf28bd9bb033be0d5ce3cd2316a9
Adjust affected callers of derived-mode-p` to use the new convention

* lisp/align.el (align-rules-list): Prefer `derived-mode-p` over
`provided-mode-derived-p`.
(align--rule-should-run):
* lisp/window.el (display-buffer-reuse-mode-window):
* lisp/whitespace.el (whitespace-enable-predicate):
* lisp/transient.el (transient--do-suffix-p):
* lisp/so-long.el (so-long--set-auto-mode):
* lisp/simple.el (command-completion-with-modes-p):
* lisp/progmodes/tcl.el (tcl-current-word):
* lisp/progmodes/idlwave.el (idlwave-fix-keywords):
* lisp/progmodes/gdb-mi.el (gdb, gdb-locals-mode-map)
(gdb-registers-mode-map, gdb-function-buffer-p):
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-style-setter)
(c-ts-mode-set-style):
* lisp/progmodes/bug-reference.el (bug-reference--try-setup-gnus-article):
* lisp/help-fns.el (help-fns--list-local-commands):
* lisp/emulation/viper.el (viper-mode)
(viper-this-major-mode-requires-vi-state):
* lisp/emacs-lisp/easy-mmode.el (easy-mmode--globalized-predicate-p):
* lisp/dired.el (dired-hide-details-mode, dired-click-to-select-mode):
* lisp/calendar/todo-mode.el (todo-reset-nondiary-marker)
(todo-reset-done-string, todo-reset-comment-string):
* lisp/vc/vc.el (vc-deduce-backend): Use new calling convention for
`derived-mode-p` and `provided-mode-derived-p`.
17 files changed:
lisp/align.el
lisp/calendar/todo-mode.el
lisp/dired.el
lisp/emacs-lisp/easy-mmode.el
lisp/emulation/viper.el
lisp/help-fns.el
lisp/progmodes/bug-reference.el
lisp/progmodes/c-ts-mode.el
lisp/progmodes/gdb-mi.el
lisp/progmodes/idlwave.el
lisp/progmodes/tcl.el
lisp/simple.el
lisp/so-long.el
lisp/transient.el
lisp/vc/vc.el
lisp/whitespace.el
lisp/window.el