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.
This commit is contained in:
parent
10e714d51d
commit
30818a239e
7 changed files with 20 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
* emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
|
||||
|
||||
2013-01-11 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* 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)))))
|
||||
(point-max-marker))))
|
||||
(unwind-protect
|
||||
(let ((info (make-ert--test-execution-info
|
||||
:test ert-test
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
* erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
|
||||
(erc-dcc-chat-setup): Use point-max-marker.
|
||||
|
||||
2013-01-04 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* 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))))
|
||||
(point-min-marker)))
|
||||
(sproc (erc-dcc-server "dcc-send"
|
||||
'erc-dcc-send-filter
|
||||
'erc-dcc-send-sentinel))
|
||||
|
@ -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)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
* 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 <oub@mat.ucm.es> (tiny change)
|
||||
|
||||
* mml-smime.el (mml-smime-encrypt-to-self): New user option analogous
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -254,7 +254,7 @@ that was fetched."
|
|||
gnus-async-article-alist
|
||||
(cons (list (intern (format "%s-%d" group article)
|
||||
gnus-async-hashtb)
|
||||
mark (set-marker (make-marker) (point-max))
|
||||
mark (point-max-marker)
|
||||
group article)
|
||||
gnus-async-article-alist))))
|
||||
(if (not (gnus-buffer-live-p summary))
|
||||
|
|
Loading…
Add table
Reference in a new issue