From: Glenn Morris Date: Thu, 30 May 2013 03:20:56 +0000 (-0700) Subject: Use completion-at-point rather than obsolete alias. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee9f1acc30541c2d8790e22826c2bfd3e1e9a132;p=emacs.git Use completion-at-point rather than obsolete alias. * net/net-utils.el (nslookup-mode-map, ftp-mode-map): * progmodes/tcl.el (inferior-tcl-mode-map): Use completion-at-point rather than obsolete alias. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7838b04ea68..03204c92df5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2013-05-30 Glenn Morris + * net/net-utils.el (nslookup-mode-map, ftp-mode-map): + * progmodes/tcl.el (inferior-tcl-mode-map): + Use completion-at-point rather than obsolete alias. + * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use. * minibuffer.el (read-file-name-completion-ignore-case): diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el index 9a6c7b124c7..810d8963ce2 100644 --- a/lisp/net/net-utils.el +++ b/lisp/net/net-utils.el @@ -497,7 +497,7 @@ If your system's ping continues until interrupted, you can try setting (defvar nslookup-mode-map (let ((map (make-sparse-keymap))) - (define-key map "\t" 'comint-dynamic-complete) + (define-key map "\t" 'completion-at-point) map)) ;; Using a derived mode gives us keymaps, hooks, etc. @@ -567,7 +567,7 @@ If your system's ping continues until interrupted, you can try setting (defvar ftp-mode-map (let ((map (make-sparse-keymap))) ;; Occasionally useful - (define-key map "\t" 'comint-dynamic-complete) + (define-key map "\t" 'completion-at-point) map)) (define-derived-mode ftp-mode comint-mode "FTP" diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 9169a433015..3e91aeba9a1 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -266,7 +266,7 @@ quoted for Tcl." ;; Maybe someone has a better set? (let ((map (make-sparse-keymap))) ;; Will inherit from `comint-mode-map' thanks to define-derived-mode. - (define-key map "\t" 'comint-dynamic-complete) + (define-key map "\t" 'completion-at-point) (define-key map "\M-?" 'comint-dynamic-list-filename-completions) (define-key map "\177" 'backward-delete-char-untabify) (define-key map "\M-\C-x" 'tcl-eval-defun)