diff options
Diffstat (limited to 'lisp/progmodes/octave-mod.el')
-rw-r--r-- | lisp/progmodes/octave-mod.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index 6f5a69f890a..0671dbe807a 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el @@ -1268,7 +1268,9 @@ variables." (get-buffer "*Completions*")) (eq (key-binding key) 'mouse-choose-completion))) (progn - (mouse-choose-completion first) + (if (fboundp 'mouse-choose-completion) + (mouse-choose-completion first) + (choose-completion first)) ; Emacs >= 23.2 (set-window-configuration conf)) (if (eq first ?\ ) (set-window-configuration conf) |