Changes committed gnus/lisp (ChangeLog gnus-sum.el)

"Katsumi Yamaoka" <[email protected]> Thu, 25 Dec 2008 04:10:38 +0100
Newsgroups gmane.emacs.gnus.commits
Message-ID <[email protected]>
Modified: ChangeLog gnus-sum.el

(gnus-summary-set-article-display-arrow): Make overlay-arrow-position and
 overlay-arrow-string buffer-local;
 no need to check if those variables exist (first appeared in Emacs 18.50).


Index: ChangeLog
diff -u gnus/lisp/ChangeLog:7.1957 gnus/lisp/ChangeLog:7.1958
--- ChangeLog:7.1957	Wed Dec 24 03:30:45 2008
+++ ChangeLog	Thu Dec 25 04:10:37 2008
@@ -1,3 +1,9 @@
+2008-12-25  Katsumi Yamaoka  <[email protected]>
+
+	* gnus-sum.el (gnus-summary-set-article-display-arrow): Make
+	overlay-arrow-position and overlay-arrow-string buffer-local; no need
+	to check if those variables exist (first appeared in Emacs 18.50).
+
 2008-12-24  Katsumi Yamaoka  <[email protected]>
 
 	* mm-util.el (mm-line-number-at-pos): New function.
Index: gnus-sum.el
diff -u gnus/lisp/gnus-sum.el:7.235 gnus/lisp/gnus-sum.el:7.236
--- gnus-sum.el:7.235	Wed Dec 24 03:30:35 2008
+++ gnus-sum.el	Thu Dec 25 04:10:37 2008
@@ -3455,9 +3455,9 @@
 
 (defun gnus-summary-set-article-display-arrow (pos)
   "Update the overlay arrow to point to line at position POS."
-  (when (and gnus-summary-display-arrow
-	     (boundp 'overlay-arrow-position)
-	     (boundp 'overlay-arrow-string))
+  (when gnus-summary-display-arrow
+    (make-local-variable 'overlay-arrow-position)
+    (make-local-variable 'overlay-arrow-string)
     (save-excursion
       (goto-char pos)
       (beginning-of-line)