diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-09-12 11:25:16 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-09-12 11:25:16 +0000 |
commit | 26ff8619bb91aea15614ab4ebdadc230f8b7312d (patch) | |
tree | 49f4eb99bbc29e03af82352562dc0b96be0b0c23 /lisp/sc.el | |
parent | cd376b506bdfb398ddc126f0528e4b869c4e5677 (diff) | |
download | emacs-26ff8619bb91aea15614ab4ebdadc230f8b7312d.tar.gz |
(sc-glom-headers): Bind mark-active around calling region-...
(sc-cite-original): Likewise.
Diffstat (limited to 'lisp/sc.el')
-rw-r--r-- | lisp/sc.el | 12 |
1 files changed, 8 insertions, 4 deletions
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) |