aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2012-02-04 13:40:24 -0500
committerGravatar David Bremner <bremner@debian.org>2012-02-04 13:40:24 -0500
commit2c6710e3ba22f5af6e5813dad8bee732e6c5d02c (patch)
tree18b635be41f26591eeefb2148c328ed33c5e733a /emacs
parent57702cc43017cfd5c5ad65a986ef962f5e40cd59 (diff)
emacs: use mark instead of point-max in MML quoting.
As Aaron explains in id:"m2vco72tf3.fsf@wal122.wireless-pennnet.upenn.edu" Using point-max would include the signature in the quoting as well. It would probably be fairly odd to want to put an MML tag in one’s signature, but that doesn’t mean that we should break that usage. We had to use point-max in the 0.11.1 bug-fix release, because the mark functionality was added post 0.11.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-mua.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index c07b67ba..4be7c13d 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -121,7 +121,7 @@ list."
;; properly quote them in the reply. Note that using `point-max'
;; instead of `mark' here is wrong. The buffer may include user's
;; signature which should not be MML-quoted.
- (mml-quote-region (point) (point-max)))
+ (mml-quote-region (point) (mark)))
(defun notmuch-mua-forward-message ()
(message-forward)