1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

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

Fixes: debbugs:15940
This commit is contained in:
Glenn Morris 2014-02-08 16:20:12 -08:00
parent c1b5900bc0
commit 2abd71e50c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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'.