Merge dbb6025d55
into ea45a13707
This commit is contained in:
commit
fbe1ee87e9
|
@ -723,8 +723,10 @@ Restore point to same position in text of the line as before indentation."
|
||||||
(beginning-of-line)
|
(beginning-of-line)
|
||||||
(indent-line-to (* plantuml-indent-level (plantuml-current-block-depth))))
|
(indent-line-to (* plantuml-indent-level (plantuml-current-block-depth))))
|
||||||
|
|
||||||
;; restore position in text of line
|
;; restore position in text of line, but not before the beginning of the
|
||||||
(goto-char (- (line-end-position) original-position-eol))))
|
;; current line
|
||||||
|
(goto-char (max (line-beginning-position)
|
||||||
|
(- (line-end-position) original-position-eol)))))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Reference in New Issue