Browse Source

Don't use (end-of-buffer) in code.

* org-eshell.el (org-eshell-open): Use (goto-char (point-max))
instead of (end-of-buffer).
Bastien Guerry 13 years ago
parent
commit
710c073971
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-eshell.el

+ 1 - 1
lisp/org-eshell.el

@@ -46,7 +46,7 @@
      (if (get-buffer eshell-buffer-name)
        (org-pop-to-buffer-same-window eshell-buffer-name)
        (eshell))
-     (end-of-buffer)
+     (goto-char (point-max))
      (eshell-kill-input)
      (insert command)
      (eshell-send-input)))