summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2020-06-10 01:00:01 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2020-06-10 01:00:01 +0100
commit9e04d0f289cc74fe2453910287bdab37e4aa1d35 (patch)
tree53ebe0f7f90a1e7eec5d2a0e7f6197084d6fed74
parentd4e7087b68d70a1f05decbce07340801fe08fe7e (diff)
downloademacs-9e04d0f289cc74fe2453910287bdab37e4aa1d35.tar.gz
; Simplify last change
* lisp/progmodes/project.el (project--read-project-list): We are already at BOB after insert-file-contents.
-rw-r--r--lisp/progmodes/project.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 0cca518d261..f3df44fa7ba 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -763,7 +763,6 @@ Arguments the same as in `compile'."
(when (file-exists-p filename)
(with-temp-buffer
(insert-file-contents filename)
- (goto-char (point-min))
(read (current-buffer)))))))
(defun project--ensure-read-project-list ()