diff options
| author | Glenn Morris | 2009-09-01 03:14:20 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-09-01 03:14:20 +0000 |
| commit | a2e01f7e5e0c1fc313d3245e262591b8b8f10cc1 (patch) | |
| tree | aacbacebefe40532d56825d7ed012eef662b80da | |
| parent | 7a4abdd6a767518581665ab73209db3c10fc2b3a (diff) | |
| download | emacs-a2e01f7e5e0c1fc313d3245e262591b8b8f10cc1.tar.gz emacs-a2e01f7e5e0c1fc313d3245e262591b8b8f10cc1.zip | |
(nslookup): Use make-comint rather than comint-run.
| -rw-r--r-- | lisp/net/net-utils.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el index f295803ff50..2e83bc6c8a2 100644 --- a/lisp/net/net-utils.el +++ b/lisp/net/net-utils.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; net-utils.el --- network functions | 1 | ;;; net-utils.el --- network functions |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2007, 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Peter Breton <pbreton@cs.umb.edu> | 6 | ;; Author: Peter Breton <pbreton@cs.umb.edu> |
| 7 | ;; Created: Sun Mar 16 1997 | 7 | ;; Created: Sun Mar 16 1997 |
| @@ -484,7 +484,7 @@ If your system's ping continues until interrupted, you can try setting | |||
| 484 | (defun nslookup () | 484 | (defun nslookup () |
| 485 | "Run nslookup program." | 485 | "Run nslookup program." |
| 486 | (interactive) | 486 | (interactive) |
| 487 | (comint-run nslookup-program) | 487 | (switch-to-buffer (make-comint "nslookup" nslookup-program)) |
| 488 | (nslookup-mode)) | 488 | (nslookup-mode)) |
| 489 | 489 | ||
| 490 | (defvar comint-prompt-regexp) | 490 | (defvar comint-prompt-regexp) |