diff options
| author | Ivan Shmakov | 2015-02-16 19:01:50 +0000 |
|---|---|---|
| committer | Ivan Shmakov | 2015-02-16 19:01:50 +0000 |
| commit | 8b36bfafeecf5f0578c64129be1d2017483b00f7 (patch) | |
| tree | 99c93ac80429110407b570ff4e499112f97f99df /lisp | |
| parent | 2ea5364ca8d1a8dc3f8ac4c9a5ba5c7f03666258 (diff) | |
| download | emacs-8b36bfafeecf5f0578c64129be1d2017483b00f7.tar.gz emacs-8b36bfafeecf5f0578c64129be1d2017483b00f7.zip | |
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.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/net/eww.el | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 42628ff2c53..71ecb407d32 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | (eww-mode): Add autoload cookie. | 4 | (eww-mode): Add autoload cookie. |
| 5 | (eww-restore-desktop): Use inhibit-read-only. | 5 | (eww-restore-desktop): Use inhibit-read-only. |
| 6 | 6 | ||
| 7 | * net/eww.el (eww-suggest-uris): Add autoload cookie, so that | ||
| 8 | add-hook works correctly even if the file is not yet loaded. | ||
| 9 | |||
| 7 | 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca> | 10 | 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 8 | 11 | ||
| 9 | * emacs-lisp/eieio.el (defclass): Use make-instance rather than | 12 | * 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 @@ | |||
| 60 | :group 'eww | 60 | :group 'eww |
| 61 | :type 'string) | 61 | :type 'string) |
| 62 | 62 | ||
| 63 | ;;;###autoload | ||
| 63 | (defcustom eww-suggest-uris | 64 | (defcustom eww-suggest-uris |
| 64 | '(eww-links-at-point | 65 | '(eww-links-at-point |
| 65 | url-get-url-at-point | 66 | url-get-url-at-point |