Package: ri-cs-el Version: 0.7a-5 Severity: normal ruby-default-ri-entry fails with (wrong-type-argument stringp nil) when (current-word) returns nil. Wrapping (current-word) in (or (current-word) "") should do the trick.
(defun ruby-default-ri-entry () (let (word) (save-excursion (setq word (or (current-word) "")) (if (string-match "[._]+$" word) (setq word (substring word 0 (match-beginning 0)))) (format "%s%s" word "")))) -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.9 Locale: LANG=en_PH.UTF-8, LC_CTYPE=ja_JP (charmap=EUC-JP) Versions of packages ri-cs-el depends on: ii emacs21 [emacsen] 21.3+1-9 The GNU Emacs editor ii ri 1.8.2-1 Ruby Interactive reference (ri) ii ri1.6 0.7a-5 Ruby Interactive reference (for Ru ii xemacs21-mule [emacsen] 21.4.16-2 highly customizable text editor -- -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]