FUEL: don't jump to USING: section after updating

clean-macosx-x86-32
timor 2019-05-06 17:19:32 +02:00 committed by John Benediktsson
parent c14e571429
commit 82893dceee
1 changed files with 15 additions and 14 deletions

View File

@ -308,6 +308,7 @@ the debugger."
(defun fuel-debug--replace-usings (file uses)
(pop-to-buffer (find-file-noselect file))
(save-excursion
(goto-char (point-min))
(if (re-search-forward "^USING: " nil t)
(let ((begin (point))
@ -321,7 +322,7 @@ the debugger."
(let ((start (point))
(tokens (append uses '(";"))))
(insert (mapconcat 'substring-no-properties tokens " "))
(fill-region start (point) nil)))
(fill-region start (point) nil))))
(defun fuel-debug-update-usings ()
(interactive)