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))
This commit is contained in:
parent
2dfb517f73
commit
fbc3a6f33e
|
@ -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))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue