diff options
| author | Stefan Monnier | 2016-01-16 14:11:11 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2016-01-16 14:11:11 -0500 |
| commit | 3dee7772f25085a1f3224b8aa05af68df2efff29 (patch) | |
| tree | f10551f9787aa6301c662e611140d4493fbc3638 | |
| parent | d7896a6f773dc4ae4e1b56c34b6708fe2bc5610a (diff) | |
| download | emacs-3dee7772f25085a1f3224b8aa05af68df2efff29.tar.gz emacs-3dee7772f25085a1f3224b8aa05af68df2efff29.zip | |
* elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment
| -rw-r--r-- | lisp/progmodes/elisp-mode.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 9e175a20e22..8f0b4f13b9e 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el | |||
| @@ -245,11 +245,8 @@ Blank lines separate paragraphs. Semicolons start comments. | |||
| 245 | ;; Font-locking support. | 245 | ;; Font-locking support. |
| 246 | 246 | ||
| 247 | (defun elisp--font-lock-flush-elisp-buffers (&optional file) | 247 | (defun elisp--font-lock-flush-elisp-buffers (&optional file) |
| 248 | ;; FIXME: Aren't we only ever called from after-load-functions? | 248 | ;; We're only ever called from after-load-functions, load-in-progress can |
| 249 | ;; Don't flush during load unless called from after-load-functions. | 249 | ;; still be t in case of nested loads. |
| 250 | ;; In that case, FILE is non-nil. It's somehow strange that | ||
| 251 | ;; load-in-progress is t when an after-load-function is called since | ||
| 252 | ;; that should run *after* the load... | ||
| 253 | (when (or (not load-in-progress) file) | 250 | (when (or (not load-in-progress) file) |
| 254 | ;; FIXME: If the loaded file did not define any macros, there shouldn't | 251 | ;; FIXME: If the loaded file did not define any macros, there shouldn't |
| 255 | ;; be any need to font-lock-flush all the Elisp buffers. | 252 | ;; be any need to font-lock-flush all the Elisp buffers. |