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

Re: Wrong type argument: number-or-marker-p, nil



OK, I found another one (stringp). Maybe it is because some functions
never expect nil input, which some web pages cause. So check all
functions to make sure they can handle nil input.

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("\\`gg:" nil)
  byte-code("..." [w3m-uri-replace-alist elem --cl-dolist-temp-- uri x nil string-match apply functionp w3m-pattern-uri-replace throw found-replacement error "Invalid replacement: %s"] 5)
  w3m-uri-replace(nil)
  w3m-goto-url(nil nil nil nil "http://..."; nil (nil (:title "<no-title>") (1) :window-start 1 :position 203))
  w3m-view-previous-page(1)
  call-interactively(w3m-view-previous-page)