summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorPhilipp Möller <bootsarehax@googlemail.com>2014-01-28 16:53:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-28 17:39:50 (GMT)
commitfbc3a6f33e41913ca481377418dee8e7f5b9b380 (patch)
tree13d138328ef0e30af0437b74d2607be12b8220b4 /Auxiliary
parent2dfb517f7382a24961ba75028eeec4827e3c526f (diff)
downloadCMake-fbc3a6f33e41913ca481377418dee8e7f5b9b380.zip
CMake-fbc3a6f33e41913ca481377418dee8e7f5b9b380.tar.gz
CMake-fbc3a6f33e41913ca481377418dee8e7f5b9b380.tar.bz2
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))
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/cmake-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index 9c73647..7355b7c 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))
)
)