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.
This commit is contained in:
David Bremner 2012-02-04 13:40:24 -05:00
parent 57702cc430
commit 2c6710e3ba

View file

@ -121,7 +121,7 @@ list."
;; properly quote them in the reply. Note that using `point-max' ;; properly quote them in the reply. Note that using `point-max'
;; instead of `mark' here is wrong. The buffer may include user's ;; instead of `mark' here is wrong. The buffer may include user's
;; signature which should not be MML-quoted. ;; signature which should not be MML-quoted.
(mml-quote-region (point) (point-max))) (mml-quote-region (point) (mark)))
(defun notmuch-mua-forward-message () (defun notmuch-mua-forward-message ()
(message-forward) (message-forward)