the 5th arguments.
* gnus-art.el (gnus-insert-mime-button): Always set the 4th argument to
gnus-make-overlay.
2007-06-05 Katsumi Yamaoka <yamaoka@jpl.org>
+ * gnus-xmas.el (gnus-xmas-define): Make gnus-make-overlay ignore the
+ 4th and the 5th arguments.
+
* gnus-art.el (gnus-insert-mime-button): Make a button overlay without
the front stickiness.
(gnus-article-summary-command-nosave): Correct the order of the
(1- (point))
(point)))
(when gnus-article-button-face
- (gnus-overlay-put (if (featurep 'xemacs)
- (gnus-make-overlay b e)
- (gnus-make-overlay b e nil t))
- 'face gnus-article-button-face))
+ (gnus-overlay-put (gnus-make-overlay b e nil t)
+ 'face gnus-article-button-face))
(widget-convert-button
'link b e
:mime-handle handle
(t
(defalias 'gnus-characterp 'characterp)))
- (defalias 'gnus-make-overlay 'make-extent)
+ (defalias 'gnus-make-overlay
+ (lambda (beg end &optional buffer front-advance rear-advance)
+ "Create a new overlay with range BEG to END in BUFFER.
+FRONT-ADVANCE and REAR-ADVANCE are ignored."
+ (make-extent beg end buffer)))
+
(defalias 'gnus-delete-overlay 'delete-extent)
(defalias 'gnus-overlay-put 'set-extent-property)
(defalias 'gnus-move-overlay 'gnus-xmas-move-overlay)