Commit 6c1bc246 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

Changed xemacs specific code to avoid byte compiler warning in GNU

emacs.
parent 85cd4372
......@@ -2871,10 +2871,12 @@ for first matching file."
(if ido-xemacs
;; XEmacs extents are put on by default, doesn't seem to be
;; any way of switching them off.
(display-completion-list completion-list
:help-string "ido "
:activate-callback
'(lambda (x y z) (message "doesn't work yet, sorry!")))
;; This obscure code avoids a byte compiler warning in GNU emacs.
(let ((f 'display-completion-list))
(funcall f completion-list
:help-string "ido "
:activate-callback
'(lambda (x y z) (message "doesn't work yet, sorry!"))))
;; else running Emacs
;;(add-hook 'completion-setup-hook 'completion-setup-function)
(display-completion-list completion-list)))))))
......
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