]> git.eshelyaron.com Git - emacs.git/commitdiff
(nslookup): Use make-comint rather than comint-run.
authorGlenn Morris <rgm@gnu.org>
Tue, 1 Sep 2009 03:14:20 +0000 (03:14 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 1 Sep 2009 03:14:20 +0000 (03:14 +0000)
lisp/net/net-utils.el

index f295803ff50fa4ac6eff2eb62b8723bf2dc02bc9..2e83bc6c8a258668dae4e5558f1ac1c72b4c28c0 100644 (file)
@@ -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 @@ If your system's ping continues until interrupted, you can try setting
 (defun nslookup ()
   "Run nslookup program."
   (interactive)
-  (comint-run nslookup-program)
+  (switch-to-buffer (make-comint "nslookup" nslookup-program))
   (nslookup-mode))
 
 (defvar comint-prompt-regexp)