takes one argument in read-char.
* message.el (message-fix-before-sending): Forward a char.
Check mmu-multibyte-p, add control-1.
2002-03-02 ShengHuo ZHU <zsh@cs.rochester.edu>
+ * gnus-util.el (gnus-multiple-choice): Use message. XEmacs only
+ takes one argument in read-char.
+
* message.el (message-fix-before-sending): Forward a char.
+ Check mmu-multibyte-p, add control-1.
2002-03-01 ShengHuo ZHU <zsh@cs.rochester.edu>
(condition-case code
(require 'w3-parse)
(error
- (message "No w3: %s %s" (cadr code) (locate-library "w3-parse"))
+ (message "No w3: %s %s" (cadr code) (or (locate-library "w3-parse") ""))
(dolist (file '("nnultimate.el" "webmail.el" "nnwfm.el"))
(setq files (delete file files)))))
(condition-case code
(require 'mh-e)
(error
- (message "No mh-e: %s %s" (cadr code) (locate-library "mh-e"))
+ (message "No mh-e: %s %s" (cadr code) (or (locate-library "mh-e") ""))
(setq files (delete "gnus-mh.el" files))))
(condition-case code
(require 'xml)
(error
- (message "No xml: %s %s" (cadr code) (locate-library "xml"))
+ (message "No xml: %s %s" (cadr code) (or (locate-library "xml") ""))
(setq files (delete "nnrss.el" files))))
(dolist (file
(if (featurep 'xemacs)
(save-window-excursion
(save-excursion
(while (not tchar)
- (setq tchar
- (read-char
- (format "%s (%s?): "
- prompt
- (mapconcat (lambda (s) (char-to-string (car s)))
- choice ""))))
+ (message "%s (%s?): "
+ prompt
+ (mapconcat (lambda (s) (char-to-string (car s)))
+ choice ""))
+ (setq tchar (read-char))
(when (not (assq tchar choice))
(setq tchar nil)
(setq buf (get-buffer-create "*Gnus Help*"))
(while (not (eobp))
(when (let ((char (char-after)))
(or (< (mm-char-int char) 128)
- (and (fboundp 'char-charset)
+ (and (mm-multibyte-p)
(memq (char-charset char)
- '(eight-bit-control eight-bit-graphic)))))
+ '(eight-bit-control eight-bit-graphic
+ control-1)))))
(add-text-properties (point) (1+ (point)) '(highlight t))
(setq found t))
(forward-char)
(while (not (eobp))
(when (let ((char (char-after)))
(or (< (mm-char-int char) 128)
- (and (fboundp 'char-charset)
+ (and (mm-multibyte-p)
(memq (char-charset char)
- '(eight-bit-control eight-bit-graphic)))))
+ '(eight-bit-control eight-bit-graphic
+ control-1)))))
(delete-char 1)
(if (eq choice ?r)
(insert ".")))