Replace (end-of-buffer) with (goto-char (point-max)) in bootstrap commands. #717

Closed
drmarkafriedman opened this Issue Apr 17, 2012 · 1 comment

Projects

None yet

2 participants

@drmarkafriedman

My init.el includes the bootstrap commands:

(unless (require 'el-get nil t) 
  (with-current-buffer 
      (url-retrieve-synchronously "https://raw.github.com/dimitri/el-get/master/el-get-install.el") 
    (let ((el-get-install-branch "master")) (end-of-buffer) (eval-print-last-sexp))))

When I compile init.el, I receive a warning that says that the function end-of-buffer is designed for interactive use only.

If I substitute (goto-char (point-max)) for (end-of-buffer), that warning goes away.

@dimitri dimitri added a commit that referenced this issue May 4, 2012
@dimitri Per issue #717, update README to use (goto-char (point-max)) rather t…
…han (end-of-buffer)
599d7f6
@dimitri
Owner
dimitri commented May 4, 2012

Thanks, I updated the README to mention using (goto-char (point-max))

@dimitri dimitri closed this May 5, 2012
@sirech sirech pushed a commit to sirech/el-get that referenced this issue May 9, 2012
Mario Fernandez Merge branch 'master' into devel
* master: (87 commits)
  Fix typo in function name
  Build emacswiki recipes at install-time
  Add missing paren
  Add script for starting a vanilla emacs with el-get loaded
  Clean up temp files created during tests
  Switch default EmacsWiki base URL to Github mirror
  Per issue #717, update README to use (goto-char (point-max)) rather than (end-of-buffer)
  added tramp-adb recipe
  Updated Org-Mode recipe for additional streamlining of Org Mode’s Makefile
  remove non-need properties.
  Reverting "rename recipes and change :name because not correct name for elisps" Reverting "fix depends because renamed recipes"
  Change package type to github
  Change package type to github
  fix .dir-locals.el. delete-trailing-whitespace takes no argument
  fix magit on Mac OS X install magit will get can not open load file: subst-ksc see alse dimitri#255
  Change Org Mode build rule for Makefile Restructuring
  Use ansicl info node in lisp-mode.
  Add dpans2texi recipe.
  fix depends for auto-complete-*
  fix indent
  ...
4280298
@pasja pasja added a commit to pasja/el-get that referenced this issue Sep 26, 2012
@dimitri @pasja + pasja Per issue #717, update README to use (goto-char (point-max)) rather t…
…han (end-of-buffer)
d4883ac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment