emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3dee777: * elisp-mode.el (elisp--font-lock-flush-el


From: Stefan Monnier
Subject: [Emacs-diffs] master 3dee777: * elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment
Date: Sat, 16 Jan 2016 19:11:15 +0000

branch: master
commit 3dee7772f25085a1f3224b8aa05af68df2efff29
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment
---
 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 9e175a2..8f0b4f1 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -245,11 +245,8 @@ Blank lines separate paragraphs.  Semicolons start 
comments.
 ;; Font-locking support.
 
 (defun elisp--font-lock-flush-elisp-buffers (&optional file)
-  ;; FIXME: Aren't we only ever called from after-load-functions?
-  ;; Don't flush during load unless called from after-load-functions.
-  ;; In that case, FILE is non-nil.  It's somehow strange that
-  ;; load-in-progress is t when an after-load-function is called since
-  ;; that should run *after* the load...
+  ;; We're only ever called from after-load-functions, load-in-progress can
+  ;; still be t in case of nested loads.
   (when (or (not load-in-progress) file)
     ;; FIXME: If the loaded file did not define any macros, there shouldn't
     ;; be any need to font-lock-flush all the Elisp buffers.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]