aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2002-07-07 21:16:23 +0000
committerKim F. Storm2002-07-07 21:16:23 +0000
commit6c1bc2463810de61b3a2448f8d231cf58d223a42 (patch)
tree20bad28f5b228bce18274b3d99a219d9bbe6e114
parent85cd4372bcaf22d8f12116bd01ed332bc867902b (diff)
downloademacs-6c1bc2463810de61b3a2448f8d231cf58d223a42.tar.gz
emacs-6c1bc2463810de61b3a2448f8d231cf58d223a42.zip
Changed xemacs specific code to avoid byte compiler warning in GNU
emacs.
-rw-r--r--lisp/ido.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 9c1c353242e..446a1239a9f 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2871,10 +2871,12 @@ for first matching file."
2871 (if ido-xemacs 2871 (if ido-xemacs
2872 ;; XEmacs extents are put on by default, doesn't seem to be 2872 ;; XEmacs extents are put on by default, doesn't seem to be
2873 ;; any way of switching them off. 2873 ;; any way of switching them off.
2874 (display-completion-list completion-list 2874 ;; This obscure code avoids a byte compiler warning in GNU emacs.
2875 :help-string "ido " 2875 (let ((f 'display-completion-list))
2876 :activate-callback 2876 (funcall f completion-list
2877 '(lambda (x y z) (message "doesn't work yet, sorry!"))) 2877 :help-string "ido "
2878 :activate-callback
2879 '(lambda (x y z) (message "doesn't work yet, sorry!"))))
2878 ;; else running Emacs 2880 ;; else running Emacs
2879 ;;(add-hook 'completion-setup-hook 'completion-setup-function) 2881 ;;(add-hook 'completion-setup-hook 'completion-setup-function)
2880 (display-completion-list completion-list))))))) 2882 (display-completion-list completion-list)))))))