[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#118590: w3m-el: Cannot use on XEmacs21
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Wed, 07 Nov 2001 20:23:43 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 02088
- References: <E161OIr-0003Kz-00@arafune2.riken.go.jp>
Greetings,
>>>>> In <E161OIr-0003Kz-00@arafune2.riken.go.jp>
>>>>> arafune@debian.org wrote:
> Package: w3m-el
> Version: 1.2-1
> Severity: normal
> Same as Subject.
> The erro does not depend on the gnome feature.
> A backtrace is:
> Signaling: (wrong-type-argument stringp nil)
> string-match("^[ -~]+$" nil)
Thank you for the report. I found a bug in w3m-xmas.el, and
I've fixed it in both the branch `emacs-w3m-1_2' and the trunk
of the `emacs-w3m' cvs repository in cvs.namazu.org. Here is a
patch for fixing the problem:
--- w3m-xmas.el~ Sun Oct 28 22:19:14 2001
+++ w3m-xmas.el Wed Nov 7 11:14:10 2001
@@ -462,8 +462,10 @@
(eq 'w3m-mode major-mode))
(let* ((len (specifier-instance
(symbol-value 'buffers-tab-default-buffer-line-length)))
- (name (if (string-match "^[ -~]+$"
- (symbol-value 'w3m-current-title))
+ (name (if (and (symbol-value 'w3m-current-title)
+ (string-match
+ "^[ -~]+$"
+ (symbol-value 'w3m-current-title)))
(symbol-value 'w3m-current-title)
(directory-file-name
(if (string-match "^[^/:]+:/+"
Regards,
--
Katsumi Yamaoka <yamaoka@jpl.org>