Fix: Warning: `beginning-of-buffer' is for interactive use only; use `(goto-char (point-min))' instead.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 01 Mar 2015 13:27:01 +0200
changeset 1245 545d1e17bfe3
parent 1244 c8c010139c14
child 1246 abd80227aa4b
Fix: Warning: `beginning-of-buffer' is for interactive use only; use `(goto-char (point-min))' instead.
maven-central.el
--- a/maven-central.el	Sun Mar 01 13:26:27 2015 +0200
+++ b/maven-central.el	Sun Mar 01 13:27:01 2015 +0200
@@ -25,7 +25,7 @@
   (let ( (buffer (current-buffer)) json )
     (with-temp-buffer
       (url-insert buffer)
-      (beginning-of-buffer)
+      (goto-char (point-min))
       (setq json (json-read))
       ;; (switch-to-buffer maven-central.buffer-name)
       ;; (pp json)
@@ -44,7 +44,7 @@
   (let ( (buffer (current-buffer)) json )
     (with-temp-buffer
       (url-insert buffer)
-      (beginning-of-buffer)
+      (goto-char (point-min))
       (setq json (json-read))
       ;; (switch-to-buffer maven-central.buffer-name)
       ;; (pp json)