Commit ae480838 authored by Glenn Morris's avatar Glenn Morris
Browse files

(octave-complete-symbol): Use choose-completion if

mouse-choose-completion is ever removed.
parent 9847dc91
2009-10-24 Glenn Morris <rgm@gnu.org> 2009-10-24 Glenn Morris <rgm@gnu.org>
* progmodes/octave-mod.el (octave-complete-symbol): Use
choose-completion if mouse-choose-completion is ever removed.
* textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
use. use.
......
...@@ -1268,7 +1268,9 @@ variables." ...@@ -1268,7 +1268,9 @@ variables."
(get-buffer "*Completions*")) (get-buffer "*Completions*"))
(eq (key-binding key) 'mouse-choose-completion))) (eq (key-binding key) 'mouse-choose-completion)))
(progn (progn
(if (fboundp 'mouse-choose-completion)
(mouse-choose-completion first) (mouse-choose-completion first)
(choose-completion first)) ; Emacs >= 23.2
(set-window-configuration conf)) (set-window-configuration conf))
(if (eq first ?\ ) (if (eq first ?\ )
(set-window-configuration conf) (set-window-configuration conf)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment