changeset 104770:603c369f665b

(nslookup): Use make-comint rather than comint-run.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Sep 2009 03:14:20 +0000
parents 6558b4c12a5a
children 2c8224ca97e2
files lisp/net/net-utils.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/net-utils.el	Tue Sep 01 03:07:11 2009 +0000
+++ b/lisp/net/net-utils.el	Tue Sep 01 03:14:20 2009 +0000
@@ -1,7 +1,7 @@
 ;;; net-utils.el --- network functions
 
-;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+;;   2007, 2008, 2009  Free Software Foundation, Inc.
 
 ;; Author:  Peter Breton <pbreton@cs.umb.edu>
 ;; Created: Sun Mar 16 1997
@@ -484,7 +484,7 @@
 (defun nslookup ()
   "Run nslookup program."
   (interactive)
-  (comint-run nslookup-program)
+  (switch-to-buffer (make-comint "nslookup" nslookup-program))
   (nslookup-mode))
 
 (defvar comint-prompt-regexp)