[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8b36bfa 2/2: Add autoload cookie for the eww-sugges
From: |
Ivan Shmakov |
Subject: |
[Emacs-diffs] master 8b36bfa 2/2: Add autoload cookie for the eww-suggest-uris variable. |
Date: |
Mon, 16 Feb 2015 19:05:32 +0000 |
branch: master
commit 8b36bfafeecf5f0578c64129be1d2017483b00f7
Author: Ivan Shmakov <address@hidden>
Commit: Ivan Shmakov <address@hidden>
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(+), 0 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 42628ff..71ecb40 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 <address@hidden>
* emacs-lisp/eieio.el (defclass): Use make-instance rather than
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index c2da4c9..b7ee065 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