Re: 英辞郎
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
Fnews-brouse 1.9(20180406) -- by Mizuno, MWE <mwe@ccsf.jp>
GnuPG Key ID = ECC8A735
GnuPG Key fingerprint = 9BE6 B9E9 55A5 A499 CD51 946E 9BDC 7870 ECC8 A735