From: Richard M. Stallman Date: Sun, 12 Sep 1993 11:25:16 +0000 (+0000) Subject: (sc-glom-headers): Bind mark-active around calling region-... X-Git-Tag: emacs-19.34~11144 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=26ff8619bb91aea15614ab4ebdadc230f8b7312d;p=emacs.git (sc-glom-headers): Bind mark-active around calling region-... (sc-cite-original): Likewise. --- diff --git a/lisp/sc.el b/lisp/sc.el index cc8deb446b2..03eade6cba2 100644 --- a/lisp/sc.el +++ b/lisp/sc.el @@ -1366,10 +1366,12 @@ Any old information is lost, unless an error occurs." (info (copy-sequence sc-gal-information))) (setq sc-gal-attributions nil sc-gal-information nil) - (let ((start (region-beginning)) - (end (region-end)) + (let (start end (sc-force-confirmation-p t) (sc-cite-context nil)) + (let ((mark-active t)) + (setq start (region-beginning) + end (region-end))) (sc-fetch-fields start end) (if (null sc-gal-information) (progn @@ -1514,8 +1516,10 @@ original message but it does require a few things: (run-hooks 'sc-pre-hook) (setq sc-gal-attributions nil) (setq sc-gal-information nil) - (let ((start (region-beginning)) - (end (region-end))) + (let (start end) + (let ((mark-active t)) + (setq start (region-beginning) + end (region-end))) (sc-fetch-fields start end) (sc-mail-yank-clear-headers start end) (if (not sc-all-but-cite-p)