From: Ivan Shmakov Date: Mon, 16 Feb 2015 19:01:50 +0000 (+0000) Subject: Add autoload cookie for the eww-suggest-uris variable. X-Git-Tag: emacs-25.0.90~2564^2~367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b36bfafeecf5f0578c64129be1d2017483b00f7;p=emacs.git Add autoload cookie for the eww-suggest-uris variable. * lisp/net/eww.el (eww-suggest-uris): Add autoload cookie, so that add-hook works correctly even if the file is not yet loaded. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 42628ff2c53..71ecb407d32 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -4,6 +4,9 @@ (eww-mode): Add autoload cookie. (eww-restore-desktop): Use inhibit-read-only. + * net/eww.el (eww-suggest-uris): Add autoload cookie, so that + add-hook works correctly even if the file is not yet loaded. + 2015-02-16 Stefan Monnier * emacs-lisp/eieio.el (defclass): Use make-instance rather than diff --git a/lisp/net/eww.el b/lisp/net/eww.el index c2da4c96173..b7ee0650d70 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -60,6 +60,7 @@ :group 'eww :type 'string) +;;;###autoload (defcustom eww-suggest-uris '(eww-links-at-point url-get-url-at-point