summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-art.el
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-01-11 14:40:54 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-01-11 14:40:54 +0400
commit30818a239e7b1222ec776603aa29786638efbb47 (patch)
treecdf9f8cceacfaa8daf78c6823354e93e450d8d48 /lisp/gnus/gnus-art.el
parent10e714d51d98bf0cb4b01447b01ab5cec6b2f752 (diff)
downloademacs-30818a239e7b1222ec776603aa29786638efbb47.tar.gz
Use point-max-marker and point-min-marker here and there.
* lisp/emacs-lisp/ert.el (ert-run-test): Use point-max-marker. * lisp/erc/erc-dcc.el (erc-dcc-chat-setup): Likewise. * lisp/gnus/gnus-async.el (gnus-async-article-callback): Likewise. * lisp/erc/erc-dcc.el (erc-dcc-send-file): Use point-min-marker. * lisp/gnus/gnus-art.el (gnus-mime-display-security): Use point-min-marker and point-max-marker.
Diffstat (limited to 'lisp/gnus/gnus-art.el')
-rw-r--r--lisp/gnus/gnus-art.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 1b4cddc5009..25a555f3d8b 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -8688,9 +8688,7 @@ For example:
gnus-mime-security-button-end-line-format))
(gnus-insert-mime-security-button handle)))
(mm-set-handle-multipart-parameter
- handle 'gnus-region
- (cons (set-marker (make-marker) (point-min))
- (set-marker (make-marker) (point-max))))
+ handle 'gnus-region (cons (point-min-marker) (point-max-marker)))
(goto-char (point-max))))
(defun gnus-mime-security-run-function (function)