1
0
Эх сурвалжийг харах

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))
Philipp Möller 11 жил өмнө
parent
commit
fbc3a6f33e

+ 1 - 1
Auxiliary/cmake-mode.el

@@ -79,7 +79,7 @@ set the path with these commands:
   (if (save-excursion
         (beginning-of-line)
         (let ((parse-end (point)))
-          (beginning-of-buffer)
+          (goto-char (point-min))
           (nth 3 (parse-partial-sexp (point) parse-end))
           )
         )