bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14255: 24.3.50; warning when using completion in M-:


From: Stefan Monnier
Subject: bug#14255: 24.3.50; warning when using completion in M-:
Date: Sat, 04 May 2013 15:30:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> M-: (def TAB
> after about two seconds:
> `lisp-complete-symbol' is an obsolete command (as of 24.4); use
> `completion-at-point' instead.

I installed the patch below (more or less, with a few other changes)
which should fix it.


        Stefan


=== modified file 'lisp/simple.el'
--- lisp/simple.el      2013-04-18 13:15:08 +0000
+++ lisp/simple.el      2013-05-04 19:21:59 +0000
@@ -1236,10 +1236,10 @@
                   bidi-fixer encoding-msg pos total percent col hscroll))))))
 
 ;; Initialize read-expression-map.  It is defined at C level.
 (let ((m (make-sparse-keymap)))
-  (define-key m "\M-\t" 'lisp-complete-symbol)
+  (define-key m "\M-\t" 'completion-at-point)
   ;; Might as well bind TAB to completion, since inserting a TAB char is much
   ;; too rarely useful.
-  (define-key m "\t" 'lisp-complete-symbol)
+  (define-key m "\t" 'completion-at-point)
   (set-keymap-parent m minibuffer-local-map)
   (setq read-expression-map m))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]