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

Wrong type argument: arrayp, button2



Please have a look if this diff may be usefully.

Got an error: Loading .../w3m-xmas.el (source)...
cond: Wrong type argument: arrayp, button2

Thanks

Andreas Röhler

GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-10-16 

diff -c /home/speck/progarbeit/emacs/veraendert/w3m-xmas.el /usr/local/share/emacs/site-lisp/w3m/emacs-w3m/w3m-xmas.el
*** .../w3m-xmas.el	2007-10-25 12:12:33.000000000 +0200
--- .../emacs-w3m/w3m-xmas.el	2007-06-08 01:48:03.000000000 +0200
***************
*** 686,692 ****
  
  ;;; Header line:
  (defvar w3m-header-line-map (make-sparse-keymap))
! (define-key w3m-header-line-map [(button2)] 'w3m-goto-url)
  
  ;;; Gutter:
  (defcustom w3m-show-current-title-in-buffer-tab
--- 686,692 ----
  
  ;;; Header line:
  (defvar w3m-header-line-map (make-sparse-keymap))
! (define-key w3m-header-line-map 'button2 'w3m-goto-url)
  
  ;;; Gutter:
  (defcustom w3m-show-current-title-in-buffer-tab

Diff finished.  Thu Oct 25 12:17:28 2007