summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2014-10-24 13:17:18 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2014-10-24 13:17:18 +0200
commit57f77d55f3face142e69d192d04380a7e6438a6d (patch)
tree25b055d7ce194fa0a062d2c7b4937bba9be538b9
parente11f5a59dc4910799b231b02897d5ece8d816654 (diff)
use goto-char instead of beginning-of-buffer
-rw-r--r--grid-engine-mode.el4
1 files 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 ()