[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102989: shr.el (shr-expand-newlines,
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102989: shr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use plist-get instead of the cl function getf. |
Date: |
Thu, 27 Jan 2011 13:20:55 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102989
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2011-01-27 13:20:55 +0000
message:
shr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use
plist-get instead of the cl function getf.
modified:
lisp/gnus/ChangeLog
lisp/gnus/shr.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2011-01-27 10:27:51 +0000
+++ b/lisp/gnus/ChangeLog 2011-01-27 13:20:55 +0000
@@ -1,3 +1,8 @@
+2011-01-27 Katsumi Yamaoka <address@hidden>
+
+ * shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
+ Use plist-get instead of the cl function getf.
+
2011-01-27 Glenn Morris <address@hidden>
* gnus-util.el (float-time): Get rid of compiler warning, again.
=== modified file 'lisp/gnus/shr.el'
--- a/lisp/gnus/shr.el 2011-01-27 10:27:51 +0000
+++ b/lisp/gnus/shr.el 2011-01-27 13:20:55 +0000
@@ -649,8 +649,9 @@
(concat
(mapconcat
(lambda (overlay)
- (let ((string (getf (overlay-properties overlay)
- 'before-string)))
+ (let ((string (plist-get
+ (overlay-properties overlay)
+ 'before-string)))
(if (not string)
""
(overlay-put overlay 'before-string "")
@@ -669,7 +670,8 @@
(dolist (overlay overlays)
(setq previous-width
(+ previous-width
- (length (getf (overlay-properties overlay) 'before-string)))))
+ (length (plist-get (overlay-properties overlay)
+ 'before-string)))))
(+ width previous-width))))
(defun shr-put-color-1 (start end type color)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102989: shr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use plist-get instead of the cl function getf.,
Katsumi Yamaoka <=