Commit 2abd71e5 authored by Glenn Morris's avatar Glenn Morris

* lisp/emacs-lisp/warnings.el (lwarn): Empower help-enable-auto-load.

Fixes: debbugs:15940
parent c1b5900b
2014-02-09 Glenn Morris <rgm@gnu.org>
* emacs-lisp/warnings.el (lwarn):
Empower help-enable-auto-load. (Bug#15940)
2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
* vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
......
......@@ -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'.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment