aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGnus developers2011-05-03 22:41:28 +0000
committerKatsumi Yamaoka2011-05-03 22:41:28 +0000
commitc2f51e23ab57da738bf3d7e1411a28dcfd9da75c (patch)
treed413cedb847967e2370d1b631500957d9f83acda /lisp
parentabe95abbafb6100e910197df92453b247ee04844 (diff)
downloademacs-c2f51e23ab57da738bf3d7e1411a28dcfd9da75c.tar.gz
emacs-c2f51e23ab57da738bf3d7e1411a28dcfd9da75c.zip
Merge changes made in Gnus trunk.
gnus.texi (Summary Buffer Lines): gnus-summary-user-date-format-alist does not exist. (Sorting the Summary Buffer): More about sorting threads. shr.el: Add shr-link face for links. (shr-urlify): Use it. registry.el (registry-insert): Make error message more helpful.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog7
-rw-r--r--lisp/gnus/registry.el2
-rw-r--r--lisp/gnus/shr.el7
3 files changed, 15 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 784f374bafa..a6d857ed660 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,10 @@
12011-05-03 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * shr.el: Add shr-link face for links.
4 (shr-urlify): Use it.
5
6 * registry.el (registry-insert): Make error message more helpful.
7
12011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org> 82011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 9
3 * gnus-html.el (gnus-html-schedule-image-fetching): Use 10 * gnus-html.el (gnus-html-schedule-image-fetching): Use
diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el
index 1a18dbd50d2..e82ca8d9b6f 100644
--- a/lisp/gnus/registry.el
+++ b/lisp/gnus/registry.el
@@ -272,7 +272,7 @@ Errors out if the key exists already."
272 (assert (< (registry-size db) 272 (assert (< (registry-size db)
273 (oref db :max-hard)) 273 (oref db :max-hard))
274 nil 274 nil
275 "max-hard size limit reached") 275 "registry max-hard size limit reached")
276 276
277 ;; store the entry 277 ;; store the entry
278 (puthash key entry (oref db :data)) 278 (puthash key entry (oref db :data))
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index b2e4f1dc61d..d865b2d6087 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -91,6 +91,12 @@ 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)
95 (:foreground "yellow")
96 (:background "black")))
97 "Font for <s> elements."
98 :group 'shr)
99
94;;; Internal variables. 100;;; Internal variables.
95 101
96(defvar shr-folding-mode nil) 102(defvar shr-folding-mode nil)
@@ -591,6 +597,7 @@ START, and END. Note that START and END should be merkers."
591 :help-echo (if title (format "%s (%s)" url title) url) 597 :help-echo (if title (format "%s (%s)" url title) url)
592 :keymap shr-map 598 :keymap shr-map
593 url) 599 url)
600 (put-text-property start (point) 'face 'shr-link)
594 (put-text-property start (point) 'shr-url url)) 601 (put-text-property start (point) 'shr-url url))
595 602
596(defun shr-encode-url (url) 603(defun shr-encode-url (url)