]> git.eshelyaron.com Git - emacs.git/commit
Make more load-hooks obsolete (Bug#21563)
authorStefan Kangas <stefan@marxist.se>
Tue, 20 Oct 2020 17:10:51 +0000 (19:10 +0200)
committerStefan Kangas <stefan@marxist.se>
Tue, 20 Oct 2020 17:14:04 +0000 (19:14 +0200)
commit6c58d900427e8195c5cfc37e7422bdb0bc73c047
tree18c50f94d1a01f92e51e60f754bedfce7500ae8f
parent4a575eb18cca3eed5019f2d2d2abeea1f0c07005
Make more load-hooks obsolete (Bug#21563)

* lisp/progmodes/dcl-mode.el (dcl-mode):
* lisp/progmodes/idlw-complete-structtag.el: Recommend
with-eval-after-load instead of load-hooks.
* lisp/calc/calc-ext.el (calc-ext-load-hook):
* lisp/emacs-lisp/bytecomp.el (bytecomp-load-hook):
* lisp/emacs-lisp/cl-extra.el (cl-extra-load-hook):
* lisp/emacs-lisp/cl-macs.el (cl-macs-load-hook):
* lisp/emacs-lisp/cl-seq.el (cl-seq-load-hook):
* lisp/gnus/message.el (message-load-hook):
* lisp/gnus/nnheader.el (nnheader-load-hook):
* lisp/gnus/nnmail.el (nnmail-load-hook):
* lisp/progmodes/dcl-mode.el (dcl-mode-load-hook):
* lisp/textmodes/tex-mode.el (tex-mode-load-hook):
* lisp/whitespace.el (whitespace-load-hook): Obsolete for
with-eval-after-load.  Note that these variables are never declared,
but the byte-compiler will still warn about them if used.
12 files changed:
lisp/calc/calc-ext.el
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/cl-extra.el
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-seq.el
lisp/gnus/message.el
lisp/gnus/nnheader.el
lisp/gnus/nnmail.el
lisp/progmodes/dcl-mode.el
lisp/progmodes/idlw-complete-structtag.el
lisp/textmodes/tex-mode.el
lisp/whitespace.el