Mercurial > emacs
changeset 47352:d817d0837c74
(apply-macro-to-region-lines): Let-bind mark-active to
nil while executing macro to avoid triggering delete-selection-mode.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 09 Sep 2002 22:44:44 +0000 |
parents | 90475d8eda53 |
children | 6979a589f9c7 |
files | lisp/macros.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/macros.el Mon Sep 09 22:44:27 2002 +0000 +++ b/lisp/macros.el Mon Sep 09 22:44:44 2002 +0000 @@ -299,7 +299,8 @@ (forward-line 1) (set-marker next-line-marker (point))) (save-excursion - (execute-kbd-macro (or macro last-kbd-macro)))) + (let ((mark-active nil)) + (execute-kbd-macro (or macro last-kbd-macro))))) (set-marker end-marker nil) (set-marker next-line-marker nil))))