Преглед на файлове

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 преди 14 години
родител
ревизия
710c073971
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)))