diff options
| author | Glenn Morris | 2020-01-16 21:21:29 -0800 |
|---|---|---|
| committer | Glenn Morris | 2020-01-16 21:21:29 -0800 |
| commit | e32bae617788bc22f2d6643d920ebcafa70a002d (patch) | |
| tree | 7c4e5f8fc6245285a88623fcb4e259e449768f3b /lisp/mail | |
| parent | 98c6416bfd31b7f19de4b6289715cc73df3c6394 (diff) | |
| download | emacs-e32bae617788bc22f2d6643d920ebcafa70a002d.tar.gz emacs-e32bae617788bc22f2d6643d920ebcafa70a002d.zip | |
Replace add-hook load-hook with with-eval-after-load
* lisp/info.el (Info-install-speedbar-variables):
* lisp/cedet/ede.el (speedbar):
* lisp/cedet/semantic/imenu.el (speedbar):
* lisp/emacs-lisp/eieio-opt.el (eieio-class-speedbar-key-map):
* lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
* lisp/erc/erc-speedbar.el (erc-install-speedbar-variables):
* lisp/mail/rmail.el (rmail-install-speedbar-variables):
* lisp/progmodes/gud.el (gud-install-speedbar-variables):
Use with-eval-after-load.
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/rmail.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index d798ffa0516..d79cea987e9 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -4392,9 +4392,8 @@ browsing, and moving of messages." | |||
| 4392 | (text face mouse function &optional token prevline)) | 4392 | (text face mouse function &optional token prevline)) |
| 4393 | 4393 | ||
| 4394 | ;; Make sure our special speedbar major mode is loaded | 4394 | ;; Make sure our special speedbar major mode is loaded |
| 4395 | (if (featurep 'speedbar) | 4395 | (with-eval-after-load 'speedbar |
| 4396 | (rmail-install-speedbar-variables) | 4396 | (rmail-install-speedbar-variables)) |
| 4397 | (add-hook 'speedbar-load-hook 'rmail-install-speedbar-variables)) | ||
| 4398 | 4397 | ||
| 4399 | (defun rmail-speedbar-buttons (buffer) | 4398 | (defun rmail-speedbar-buttons (buffer) |
| 4400 | "Create buttons for BUFFER containing rmail messages. | 4399 | "Create buttons for BUFFER containing rmail messages. |