From 8b36bfafeecf5f0578c64129be1d2017483b00f7 Mon Sep 17 00:00:00 2001 From: Ivan Shmakov Date: Mon, 16 Feb 2015 19:01:50 +0000 Subject: [PATCH] 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. --- lisp/ChangeLog | 3 +++ lisp/net/eww.el | 1 + 2 files changed, 4 insertions(+) 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 -- 2.39.2