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

Re: defvar of bookmark-make-record-function breaks org-capture

In [emacs-w3m : No.11395] David Engster wrote:
> For a while now, I wondered why sometimes org-capture would throw an
> error when I entered new notes.  I finally found that in
[emacs-w3m:11396]> bookmark-w3m.el,
> there's

> (defvar bookmark-make-record-function nil)

> which of course breaks any package using this when w3m-bookmark was
> loaded first, including org-capture.

Oops, it must be nothing but a bug.

emacs -batch -Q -l bookmark-w3m -l bookmark ~/.emacs -f bookmark-set
 => Symbol's function definition is void: nil

I've made it an incantation of only suppressing a compiler warning.