From 57f77d55f3face142e69d192d04380a7e6438a6d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 24 Oct 2014 13:17:18 +0200 Subject: use goto-char instead of beginning-of-buffer --- grid-engine-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grid-engine-mode.el b/grid-engine-mode.el index cb6deef..73c9c9d 100644 --- a/grid-engine-mode.el +++ b/grid-engine-mode.el @@ -28,15 +28,15 @@ (defun grid-engine--raise-buffer (&optional buffer) (when buffer (set-buffer buffer)) + (goto-char (point-min)) (pop-to-buffer-same-window (current-buffer)) - (beginning-of-buffer) (grid-engine)) (defun grid-engine--split-buffer (&optional buffer) (when buffer (set-buffer buffer)) + (goto-char (point-min)) (display-buffer (current-buffer)) - (beginning-of-buffer) (grid-engine)) (defun grid-engine--default-directory () -- cgit v1.2.3