We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd2c4c commit 6c44b03Copy full SHA for 6c44b03
markdown-mode.el
@@ -5166,8 +5166,9 @@ a list."
5166
(setq cpfx (match-string-no-properties 1))
5167
(cond
5168
((string= cpfx pfx)
5169
- (replace-match
5170
- (concat pfx (number-to-string (setq idx (1+ idx))) ". "))
+ (save-excursion
+ (replace-match
5171
+ (concat pfx (number-to-string (setq idx (1+ idx))) ". ")))
5172
(setq sep nil))
5173
;; indented a level
5174
((string< pfx cpfx)
0 commit comments