Hiroshi Fujishima <pooh@nature.tsukuba.ac.jp> writes:

> (defun ejr ()
>   (interactive)
>   (let ((w3m-user-agent "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)")
>    (w3m-search-default-engine "ejr"))
>     (call-interactively 'w3m-search)))

訂正です。

(defun ejr ()
  (interactive)
  (require 'w3m)
  (require 'w3m-search)
  (let ((w3m-user-agent "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)")
        (w3m-search-default-engine "ejr"))
    (call-interactively 'w3m-search)))

こうしておかないと、

let: Symbol's value as variable is void: w3m-search-default-engine
apply: Symbol's value as variable is void: w3m-user-agent

となってしまします。

-- 
Hiroshi Fujishima