mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Ensure indent-region argument order in tempo.el is correct
* lisp/tempo.el (tempo-insert): Call 'indent-region' with the stored region markers to ensure that the start and end arguments are used in the correct order. (Bug#68185)
This commit is contained in:
parent
ff00b85acf
commit
5765cc3a5a
1 changed files with 3 additions and 2 deletions
|
|
@ -333,7 +333,8 @@ possible."
|
|||
(`(r> . ,rest) (if on-region
|
||||
(progn
|
||||
(goto-char tempo-region-stop)
|
||||
(indent-region (mark) (point) nil))
|
||||
(indent-region tempo-region-start
|
||||
tempo-region-stop))
|
||||
(tempo-insert-prompt-compat rest)))
|
||||
(`(s ,name) (tempo-insert-named name))
|
||||
(`(l . ,rest) (dolist (elt rest) (tempo-insert elt on-region)))
|
||||
|
|
@ -344,7 +345,7 @@ possible."
|
|||
('r> (if on-region
|
||||
(progn
|
||||
(goto-char tempo-region-stop)
|
||||
(indent-region (mark) (point) nil))
|
||||
(indent-region tempo-region-start tempo-region-stop))
|
||||
(tempo-insert-mark (point-marker))))
|
||||
('> (indent-according-to-mode))
|
||||
('& (if (not (or (= (current-column) 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue