From fbc3a6f33e41913ca481377418dee8e7f5b9b380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Tue, 28 Jan 2014 17:53:29 +0100 Subject: [PATCH] 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)) --- Auxiliary/cmake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index 9c736472d..7355b7c20 100644 --- a/Auxiliary/cmake-mode.el +++ b/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)) ) )