+2005-01-21 Ren\e,Ai\e(B Kyllingstad <listmailxemacs@kyllingstad.com>
+
+ * pcomplete.el: define pcomplete-read-event instead of read-event,
+ since it's not a complete read-event implementation
+
2005-01-20 Jay Belanger <belanger@truman.edu>
* calc/calc-ext.el (calc-fancy-prefix-other-key): Set prefix arg
(unless (fboundp 'event-matches-key-specifier-p)
(defalias 'event-matches-key-specifier-p 'eq))
-(unless (fboundp 'read-event)
- (defsubst read-event (&optional prompt)
+(if (fboundp 'read-event)
+ (defsubst pcomplete-read-event (&optional prompt)
+ (read-event prompt))
+ (defsubst pcomplete-read-event (&optional prompt)
(aref (read-key-sequence prompt) 0)))
(unless (fboundp 'event-basic-type)
(prog1
(catch 'done
(while (with-current-buffer (get-buffer "*Completions*")
- (setq event (read-event)))
+ (setq event (pcomplete-read-event)))
(cond
((event-matches-key-specifier-p event ? )
(set-window-configuration pcomplete-last-window-config)