diff options
author | Glenn Morris <rgm@gnu.org> | 2014-02-08 16:20:12 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-02-08 16:20:12 -0800 |
commit | 2abd71e50cee30d491910af87c141cd0f1807188 (patch) | |
tree | 1279b72f91f483c85b46e41f0e5530c93da4659a /lisp/emacs-lisp/warnings.el | |
parent | c1b5900bc06f22bd6e8c94c72ca735402b225c04 (diff) | |
download | emacs-2abd71e50cee30d491910af87c141cd0f1807188.tar.gz emacs-2abd71e50cee30d491910af87c141cd0f1807188.tar.bz2 emacs-2abd71e50cee30d491910af87c141cd0f1807188.zip |
* lisp/emacs-lisp/warnings.el (lwarn): Empower help-enable-auto-load.
Fixes: debbugs:15940
Diffstat (limited to 'lisp/emacs-lisp/warnings.el')
-rw-r--r-- | lisp/emacs-lisp/warnings.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el index 80c990a16cc..49b11e9d5d6 100644 --- a/lisp/emacs-lisp/warnings.el +++ b/lisp/emacs-lisp/warnings.el @@ -306,9 +306,12 @@ See also `warning-series', `warning-prefix-function' and (set-window-start window warning-series)) (sit-for 0)))))))) +;; Use \\<special-mode-map> so that help-enable-auto-load can do its thing. +;; Any keymap that is defined will do. ;;;###autoload (defun lwarn (type level message &rest args) "Display a warning message made from (format MESSAGE ARGS...). +\\<special-mode-map> Aside from generating the message with `format', this is equivalent to `display-warning'. |