Commit 30818a23 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

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.
parent 10e714d5
2013-01-11 Dmitry Antipov <>
* emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2013-01-11 Eli Zaretskii <>
* autorevert.el (auto-revert-notify-rm-watch)
......@@ -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)))))
(let ((info (make-ert--test-execution-info
:test ert-test
2013-01-11 Dmitry Antipov <>
* erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
(erc-dcc-chat-setup): Use point-max-marker.
2013-01-04 Glenn Morris <>
* erc-backend.el (312): Fix typo. (Bug#13235)
......@@ -897,7 +897,7 @@ other client."
(let* ((buffer (erc-dcc-find-file file))
(size (buffer-size buffer))
(start (with-current-buffer buffer
(set-marker (make-marker) (point-min))))
(sproc (erc-dcc-server "dcc-send"
......@@ -1166,7 +1166,7 @@ other client."
(setq erc-dcc-from nick)
(setq erc-dcc-entry-data entry)
(setq erc-dcc-unprocessed-output "")
(setq erc-insert-marker (set-marker (make-marker) (point-max)))
(setq erc-insert-marker (point-max-marker))
(setq erc-input-marker (make-marker))
(erc-display-prompt buffer (point-max))
(set-process-buffer proc buffer)
2013-01-11 Dmitry Antipov <>
* gnus-art.el (gnus-mime-display-security): Use point-min-marker
and point-max-marker.
* gnus-async.el (gnus-async-article-callback): Use point-max-marker.
2013-01-10 Uwe Brauer <> (tiny change)
* mml-smime.el (mml-smime-encrypt-to-self): New user option analogous
......@@ -8688,9 +8688,7 @@ For example:
(gnus-insert-mime-security-button handle)))
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)
......@@ -254,7 +254,7 @@ that was fetched."
(cons (list (intern (format "%s-%d" group article)
mark (set-marker (make-marker) (point-max))
mark (point-max-marker)
group article)
(if (not (gnus-buffer-live-p summary))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment