;;; net-utils.el --- network functions
-;; Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+;; 2005, 2006 Free Software Foundation, Inc.
;; Author: Peter Breton <pbreton@cs.umb.edu>
;; Created: Sun Mar 16 1997
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Commentary:
)))
;;;###autoload
-(defun dig (host)
+(defun run-dig (host)
"Run dig program."
(interactive
(list
(require 'ffap)
(read-from-minibuffer
"Lookup host: "
- (or (ffap-string-at-point 'machine) "")))))
+ (with-no-warnings
+ (or (ffap-string-at-point 'machine) ""))))))
(net-utils-run-program
"Dig"
(concat "** "