7th argument of completing-read.
* liece-coding.el (liece-mime-charset-for-write): Use
`mime-charset-to-coding-system' instead of `mime-charset-p'.
(liece-mime-charset-for-read): Ditto.
+2002-09-26 Daiki Ueno <ueno@unixuser.org>
+
+ * liece-minibuf.el (liece-minibuf-completing-read): Don't use the
+ 7th argument of completing-read.
+
2002-09-24 Daiki Ueno <ueno@unixuser.org>
* liece-handle.el (liece-handle-mode-message): Check chnlp before
* gettext.el (gettext-mapcar*): Eliminate recursion.
+2002-03-24 Daiki Ueno <daiki@xemacs.org>
+
+ * liece-coding.el (liece-mime-charset-for-write): Use
+ `mime-charset-to-coding-system' instead of `mime-charset-p'.
+ (liece-mime-charset-for-read): Ditto.
+
2002-03-20 Daiki Ueno <ueno@unixuser.org>
* gettext.el (bind-text-domain): Respect LC_ALL and LC_MESSAGES;
:group 'liece)
(defcustom liece-mime-charset-for-write
- (if (mime-charset-p 'iso-2022-jp-2)
+ (if (mime-charset-to-coding-system 'iso-2022-jp-2)
'iso-2022-jp-2
default-mime-charset-for-write)
"Charset used in any transferred messages."
:group 'liece-coding)
(defcustom liece-mime-charset-for-read
- (if (mime-charset-p 'x-ctext)
+ (if (mime-charset-to-coding-system 'x-ctext)
'x-ctext
default-mime-charset)
"Charset used in any transferred messages."
(mapconcat (function car) liece-supported-user-mode-alist ""))))
(defun liece-minibuffer-completing-read
- (prompt table &optional predicate require-match initial-input history default)
- (completing-read
- (if default
- (format "%s(default %s) " prompt default)
- prompt)
- table predicate require-match initial-input history default))
+ (prompt table &optional predicate require-match initial-input history
+ default)
+ (let ((result
+ (completing-read
+ (if default
+ (format "%s(default %s) " prompt default)
+ prompt)
+ table predicate require-match initial-input history)))
+ (if (and default (equal result ""))
+ default
+ result)))
(defvar liece-minibuffer-completion-separator ","
"Separator used for separating strings in `liece-minibuffer-completing-read-multiple'.
(let ((liece-minibuffer-completion-table
table))
(split-string
- (completing-read
+ (liece-minibuffer-completing-read
prompt #'liece-minibuffer-completing-read-multiple-1
predicate require-match initial-input history default)
liece-minibuffer-completion-separator)))))