diff options
author | Glenn Morris <rgm@gnu.org> | 2009-09-01 03:14:20 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-09-01 03:14:20 +0000 |
commit | a2e01f7e5e0c1fc313d3245e262591b8b8f10cc1 (patch) | |
tree | aacbacebefe40532d56825d7ed012eef662b80da /lisp/net/net-utils.el | |
parent | 7a4abdd6a767518581665ab73209db3c10fc2b3a (diff) | |
download | emacs-a2e01f7e5e0c1fc313d3245e262591b8b8f10cc1.tar.gz emacs-a2e01f7e5e0c1fc313d3245e262591b8b8f10cc1.tar.bz2 emacs-a2e01f7e5e0c1fc313d3245e262591b8b8f10cc1.zip |
(nslookup): Use make-comint rather than comint-run.
Diffstat (limited to 'lisp/net/net-utils.el')
-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 @@ ;;; 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) |