summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
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/emacs-lisp
parent10e714d51d98bf0cb4b01447b01ab5cec6b2f752 (diff)
downloademacs-30818a239e7b1222ec776603aa29786638efbb47.tar.gz
emacs-30818a239e7b1222ec776603aa29786638efbb47.tar.bz2
emacs-30818a239e7b1222ec776603aa29786638efbb47.zip
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/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/ert.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 70d6a6a4a5f..dd849362228 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -937,7 +937,7 @@ Returns the result and stores it in ERT-TEST's `most-recent-result' slot."
(cl-block error
(let ((begin-marker
(with-current-buffer (get-buffer-create "*Messages*")
- (set-marker (make-marker) (point-max)))))
+ (point-max-marker))))
(unwind-protect
(let ((info (make-ert--test-execution-info
:test ert-test