Skip to content
Snippets Groups Projects
Commit fbc3a6f3 authored by Philipp Möller's avatar Philipp Möller Committed by Brad King
Browse files

cmake-mode.el: Avoid using beginning-of-buffer

This should not be used from lisp programs.  Use the replacement
suggested by the doc: (goto-char (point-min))
parent 2dfb517f
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ set the path with these commands: ...@@ -79,7 +79,7 @@ set the path with these commands:
(if (save-excursion (if (save-excursion
(beginning-of-line) (beginning-of-line)
(let ((parse-end (point))) (let ((parse-end (point)))
(beginning-of-buffer) (goto-char (point-min))
(nth 3 (parse-partial-sexp (point) parse-end)) (nth 3 (parse-partial-sexp (point) parse-end))
) )
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment