emacs-format-all-the-code
emacs-format-all-the-code copied to clipboard
Marker move to position 1 after calling format-all-buffer command
Repreduce:
(setq test (point-marker))
;; => #<marker at 27 in *scratch*>
(format-all-buffer)
test
;; => #<marker at 1 in *scratch*>
As shown above, after call format-all-buffer and if the file changes, the marker position change to position 1 always.