emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

current-word without arg may return nil?


From: Yoichi NAKAYAMA
Subject: current-word without arg may return nil?
Date: Fri, 02 Jul 2004 00:03:18 +0900
User-agent: Wanderlust/2.11.30 (Wonderwall) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.8 (土師の里) APEL/10.6 Emacs/21.3.50 (i686-pc-linux-gnu) MULE/5.0 (賢木)

Hello,
If the function `current-word' called without argument,
it may return nil? Its old behavior was to return "" at least.
Following change by rms implies that the above is true:

2003-09-22  Richard M. Stallman  <address@hidden>

        * woman.el (woman-file-name, woman-follow-word):
        If current-word returns nil, use "".

Then, some files still assume the return value is string, e.g.
finder.el (finder-select), man.el (Man-follow-manual-reference)
may cause wrong-type-argument error.

Regards,
-- 
Yoichi NAKAYAMA






reply via email to

[Prev in Thread] Current Thread [Next in Thread]