diff options
| author | Noah Friedman | 1996-05-08 00:52:30 +0000 |
|---|---|---|
| committer | Noah Friedman | 1996-05-08 00:52:30 +0000 |
| commit | 9fa128e82a612fbec633793e117d9a341e4f7749 (patch) | |
| tree | 9b2c77a70b8fb60152e64f4e775b2303268ebfbd | |
| parent | dc929aa99d52022b2229f4658d759931527c1588 (diff) | |
| download | emacs-9fa128e82a612fbec633793e117d9a341e4f7749.tar.gz emacs-9fa128e82a612fbec633793e117d9a341e4f7749.zip | |
(rlogin): Call rlogin-mode after adding rlogin-carriage-filter to output
filter functions, so user can remove it if desired.
| -rw-r--r-- | lisp/rlogin.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/rlogin.el b/lisp/rlogin.el index 15ed52b393d..88e32b113f0 100644 --- a/lisp/rlogin.el +++ b/lisp/rlogin.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 23 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 24 | ;; Boston, MA 02111-1307, USA. | 24 | ;; Boston, MA 02111-1307, USA. |
| 25 | 25 | ||
| 26 | ;; $Id: rlogin.el,v 1.30 1995/10/27 22:34:50 friedman Exp erik $ | 26 | ;; $Id: rlogin.el,v 1.31 1996/01/14 07:34:30 erik Exp friedman $ |
| 27 | 27 | ||
| 28 | ;;; Commentary: | 28 | ;;; Commentary: |
| 29 | 29 | ||
| @@ -180,13 +180,14 @@ variable." | |||
| 180 | ;; Set process-mark to point-max in case there is text in the | 180 | ;; Set process-mark to point-max in case there is text in the |
| 181 | ;; buffer from a previous exited process. | 181 | ;; buffer from a previous exited process. |
| 182 | (set-marker (process-mark proc) (point-max)) | 182 | (set-marker (process-mark proc) (point-max)) |
| 183 | (rlogin-mode) | ||
| 184 | 183 | ||
| 185 | ;; comint-output-filter-functions is just like a hook, except that the | 184 | ;; comint-output-filter-functions is just like a hook, except that the |
| 186 | ;; functions in that list are passed arguments. add-hook serves well | 185 | ;; functions in that list are passed arguments. add-hook serves well |
| 187 | ;; enough for modifying it. | 186 | ;; enough for modifying it. |
| 188 | (add-hook 'comint-output-filter-functions 'rlogin-carriage-filter) | 187 | (add-hook 'comint-output-filter-functions 'rlogin-carriage-filter) |
| 189 | 188 | ||
| 189 | (rlogin-mode) | ||
| 190 | |||
| 190 | (make-local-variable 'rlogin-host) | 191 | (make-local-variable 'rlogin-host) |
| 191 | (setq rlogin-host host) | 192 | (setq rlogin-host host) |
| 192 | (make-local-variable 'rlogin-remote-user) | 193 | (make-local-variable 'rlogin-remote-user) |