[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
minibuffer-setup-hook
- To: emacspeak@xxxxxxxxxxx
- Subject: minibuffer-setup-hook
- From: Koichi INOUE <inoue@xxxxxxxxxxx>
- Date: 25 Mar 2001 17:35:27 +0900
- Resent-Date: Sun, 25 Mar 2001 03:46:23 -0500 (EST)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <"rqQCf.A.q2B.W3av6"@hub>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
- User-Agent: T-gnus/6.15.0 (based on Oort Gnus v0.01) (revision 09) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.0.100 (i386-windy-freebsd4.2) MULE/5.0 (SAKAKI)
Hi, Dr. Raman and listers,
I'm working on Bilingual Emacspeak Project and found a conflict of
emacspeak code and another elisp package.
The problem may be the part of emacspeak-advice.el:
(declaim (special minibuffer-setup-hook))
(setq minibuffer-setup-hook 'emacspeak-minibuffer-setup-hook)
The second line seems to bind a function emacspeak-minibuffer-setup-hook
to minibuffer-setup-hook.
The conflicted package has the code like this in the function body:
(setq url (let ((minibuffer-setup-hook (append minibuffer-setup-hook
'(beginning-of-line))))
(completing-read (or prompt
(if default
"URL: "
(format "URL (default %s): " w3m-home-page)))
candidates nil nil default
'w3m-input-url-history)))
In this form, emacspeak-minibuffer-setup-hook causes an error of
append() function: it must be a sequence.
minibuffer-setup-hook may be a list so I suggest:
(setq minibuffer-setup-hook '(emacspeak-minibuffer-setup-hook))
Best regards
--
Koichi Inoue, ARGV
E-Mail: inoue@xxxxxxxxxxx
ICQ UIN: 74900690
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"
Emacspeak Files |
Subscribe |
Unsubscribe | Search