Fix last change in tempo.el
* lisp/tempo.el: Set marker type for tempo-region-start to move when text is inserted at its position. This prevents the template from inserting text into the region. (Bug#68185)
This commit is contained in:
parent
5765cc3a5a
commit
d69fb6dab2
1 changed files with 4 additions and 0 deletions
|
@ -198,6 +198,10 @@ This is an abnormal hook where the functions are called with one argument
|
|||
(defvar-local tempo-region-start (make-marker)
|
||||
"Region start when inserting around the region.")
|
||||
|
||||
;; Insertion by the template at the region start position should move
|
||||
;; the marker to preserve the original region contents.
|
||||
(set-marker-insertion-type tempo-region-start t)
|
||||
|
||||
(defvar-local tempo-region-stop (make-marker)
|
||||
"Region stop when inserting around the region.")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue