From 2abd71e50cee30d491910af87c141cd0f1807188 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 8 Feb 2014 16:20:12 -0800 Subject: * lisp/emacs-lisp/warnings.el (lwarn): Empower help-enable-auto-load. Fixes: debbugs:15940 --- lisp/emacs-lisp/warnings.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/emacs-lisp/warnings.el') 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 \\ 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...). +\\ Aside from generating the message with `format', this is equivalent to `display-warning'. -- cgit v1.2.3