fniessen / emacs-leuven-theme

This Emacs theme reduces eye strain with a light, high-contrast color scheme, syntax highlighting, and support for multiple modes. Enhance your coding experience! #emacs #theme #coding #orgmode
GNU General Public License v3.0
696 stars 59 forks source link

Compiler warning when installing from MELPA #11

Closed david-christiansen closed 10 years ago

david-christiansen commented 10 years ago

When installing leuven-theme from MELPA, the following warning occurs:

In end of data:
leuven-theme-pkg.el:2:1:Warning: the function `define-package' is not known to
    be defined.

Perhaps it might be a good idea to add an autoload?

fniessen commented 10 years ago

Hello David.

The file "Leuven-theme-pkg" is not written by me; it's generated by MELPA as far as I know.

Anyway, such a line is common for all MELPA packages: for example, I have:

(define-package "ace-jump-mode" "20140616.115" "a quick cursor location minor mode for emacs"
  (quote nil))

in ace-jump-mode-pkg.el.

Your problem seems to lie elsewhere. Any idea?

david-christiansen commented 10 years ago

It seems that this is something that started happening in Emacs 24.4. Sorry for the false alarm. It even happens if you M-x package-install-file.

fniessen commented 10 years ago

No problem. I prefer that ;-)