shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly at the end...
authorGnus developers <ding@gnus.org>
Sun, 29 May 2011 23:28:45 +0000 (23:28 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 29 May 2011 23:28:45 +0000 (23:28 +0000)
smiley.el (gnus-smiley-file-types): Add gif as supported file type.

lisp/gnus/ChangeLog
lisp/gnus/shr.el
lisp/gnus/smiley.el

index 6ed5a3f..4aba3a2 100644 (file)
@@ -1,3 +1,12 @@
+2011-05-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly
+       at the end of lines.
+
+2011-05-29  Julien Danjou  <julien@danjou.info>
+
+       * smiley.el (gnus-smiley-file-types): Add gif as supported file type.
+
 2011-05-27  Glenn Morris  <rgm@gnu.org>
 
        * gnus-group.el (gnus-bug-group-download-format-alist):
index d23d9c7..ebd8549 100644 (file)
@@ -601,7 +601,7 @@ START, and END.  Note that START and END should be merkers."
    :help-echo (if title (format "%s (%s)" url title) url)
    :keymap shr-map
    url)
-  (put-text-property start (point) 'face 'shr-link)
+  (shr-add-font start (point) 'shr-link)
   (put-text-property start (point) 'shr-url url))
 
 (defun shr-encode-url (url)
index 2f5c742..cf23deb 100644 (file)
@@ -133,9 +133,11 @@ regexp to replace with IMAGE.  IMAGE is the name of an image file in
   (let ((types (list "pbm")))
     (when (gnus-image-type-available-p 'xpm)
       (push "xpm" types))
+    (when (gnus-image-type-available-p 'gif)
+      (push "gif" types))
     types)
   "*List of suffixes on smiley file names to try."
-  :version "22.1"
+  :version "24.1"
   :type '(repeat string)
   :group 'smiley)