summaryrefslogtreecommitdiff
path: root/lisp/rlogin.el
diff options
context:
space:
mode:
authorNoah Friedman <friedman@splode.com>1996-05-08 00:52:30 +0000
committerNoah Friedman <friedman@splode.com>1996-05-08 00:52:30 +0000
commit01d09ce96a4a1e2bb2d0bd292e030962eeaa9ed2 (patch)
tree895147a9c2b6fecb30c5ae491495e098af8280c2 /lisp/rlogin.el
parent81143d5c149f046a769e9e6a37c982537180ac03 (diff)
downloademacs-01d09ce96a4a1e2bb2d0bd292e030962eeaa9ed2.tar.gz
(rlogin): Call rlogin-mode after adding rlogin-carriage-filter to output
filter functions, so user can remove it if desired.
Diffstat (limited to 'lisp/rlogin.el')
-rw-r--r--lisp/rlogin.el5
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 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
-;; $Id: rlogin.el,v 1.30 1995/10/27 22:34:50 friedman Exp erik $
+;; $Id: rlogin.el,v 1.31 1996/01/14 07:34:30 erik Exp friedman $
;;; Commentary:
@@ -180,13 +180,14 @@ variable."
;; Set process-mark to point-max in case there is text in the
;; buffer from a previous exited process.
(set-marker (process-mark proc) (point-max))
- (rlogin-mode)
;; comint-output-filter-functions is just like a hook, except that the
;; functions in that list are passed arguments. add-hook serves well
;; enough for modifying it.
(add-hook 'comint-output-filter-functions 'rlogin-carriage-filter)
+ (rlogin-mode)
+
(make-local-variable 'rlogin-host)
(setq rlogin-host host)
(make-local-variable 'rlogin-remote-user)