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

not boundp: byte-compile-unresolved-functions



I cvs up'd recently, and M-x w3m in a new Emacs complained because
byte-compile-unresolved-functions was not bound.  I run w3m-el without
byte-compiling it, straight out of the CVS checkout directory.  The
offending code was

    (eval-when-compile
      (let ((g (condition-case nil
                   (assq 'gensym byte-compile-unresolved-functions)
                 (error nil))))
        (setq byte-compile-unresolved-functions
              (delq g byte-compile-unresolved-functions))))

Changing it to

    (eval-when-compile
      (when (boundp 'byte-compile-unresolved-functions)
        (let ((g (condition-case nil
                     (assq 'gensym byte-compile-unresolved-functions)
                   (error nil))))
          (setq byte-compile-unresolved-functions
                (delq g byte-compile-unresolved-functions)))))

made M-x w3m work again.

================================================================

System Info to help track down your bug:
---------------------------------------
emacs-w3m-version
 => "1.4.238"
emacs-version
 => "GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)\n of 2007-11-03 on excelsior, modified by Debian"
mule-version
 => "5.0 (SAKAKI)"
system-type
 => gnu/linux
(featurep 'gtk)
 => nil
w3m-version
 => "w3m/0.5.1+cvs-1.968"
w3m-type
 => w3m-m17n
w3m-compile-options
 => ("lang=en" "m17n" "image" "color" "ansi-color" "mouse" "gpm" "menu" "cookie" "ssl" "ssl-verify" "external-uri-loader" "w3mmailer" "nntp" "gopher" "ipv6" "alarm" "mark" "migemo")
w3m-language
 => nil
w3m-command-arguments
 => nil
w3m-command-arguments-alist
 => nil
w3m-command-environment
 => nil
w3m-input-coding-system
 => utf-8
w3m-output-coding-system
 => utf-8
w3m-use-mule-ucs
 => nil