diff options
| author | Teodor Zlatanov | 2011-05-06 23:33:12 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-05-06 23:33:12 +0000 |
| commit | f8774e35f6772b4b101ec49b62d041372308699d (patch) | |
| tree | fb7d72b2f10fc66f72b67db129f6d8376530a51c | |
| parent | b4289b644f55ad9c34a8503c191d297265d424f3 (diff) | |
| download | emacs-f8774e35f6772b4b101ec49b62d041372308699d.tar.gz emacs-f8774e35f6772b4b101ec49b62d041372308699d.zip | |
shr.el (shr-urlify, shr-link): Fix shr-link face.
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a0dab93bca0..531120c6231 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-05-06 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * shr.el (shr-urlify, shr-link): Fix shr-link face. | ||
| 4 | |||
| 1 | 2011-05-05 Teodor Zlatanov <tzz@lifelogs.com> | 5 | 2011-05-05 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 6 | ||
| 3 | * shr.el (shr-urlify, shr-link): Still broken but at least doesn't | 7 | * shr.el (shr-urlify, shr-link): Still broken but at least doesn't |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index d8f33c830c7..37b71c5d60c 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -91,9 +91,8 @@ cid: URL as the argument.") | |||
| 91 | "Font for <s> elements." | 91 | "Font for <s> elements." |
| 92 | :group 'shr) | 92 | :group 'shr) |
| 93 | 93 | ||
| 94 | (defface shr-link '((t (:underline t) | 94 | (defface shr-link |
| 95 | (:foreground "yellow") | 95 | '((t (:underline t :foreground "yellow" :background "black"))) |
| 96 | (:background "black"))) | ||
| 97 | "Font for link elements." | 96 | "Font for link elements." |
| 98 | :group 'shr) | 97 | :group 'shr) |
| 99 | 98 | ||
| @@ -597,7 +596,7 @@ START, and END. Note that START and END should be merkers." | |||
| 597 | :help-echo (if title (format "%s (%s)" url title) url) | 596 | :help-echo (if title (format "%s (%s)" url title) url) |
| 598 | :keymap shr-map | 597 | :keymap shr-map |
| 599 | url) | 598 | url) |
| 600 | (put-text-property start (point) 'face '(shr-link)) | 599 | (put-text-property start (point) 'face 'shr-link) |
| 601 | (put-text-property start (point) 'shr-url url)) | 600 | (put-text-property start (point) 'shr-url url)) |
| 602 | 601 | ||
| 603 | (defun shr-encode-url (url) | 602 | (defun shr-encode-url (url) |