summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-02-08 22:02:33 -0800
committerGlenn Morris <rgm@gnu.org>2012-02-08 22:02:33 -0800
commit001bf877d084f3fe00a0db77eb4db26d8044de86 (patch)
treeed32cef69402c1bf754e3d229cb982def06fb6dd /lisp/subr.el
parent91af9d2e9d3f156761b80d3c4bf4ab96dd8f52bb (diff)
downloademacs-001bf877d084f3fe00a0db77eb4db26d8044de86.tar.gz
* etc/NEWS: Edit delayed-warnings-list entry.
* lisp/subr.el: Related comment.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index e735fd9577d..6c79b3f88e2 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1884,6 +1884,9 @@ Used from `delayed-warnings-hook' (which see)."
(push warning collapsed)))
(setq delayed-warnings-list (nreverse collapsed))))
+;; At present this is only really useful for Emacs internals.
+;; Document in the lispref if it becomes generally useful.
+;; Ref http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00085.html
(defvar delayed-warnings-hook '(collapse-delayed-warnings
display-delayed-warnings)
"Normal hook run to process delayed warnings.