doublep / datetime

Library for parsing, formatting, matching and recoding timestamps and date-time format strings.
GNU General Public License v3.0
19 stars 4 forks source link

the function `define-error' is not known to be defined #1

Closed futurist closed 7 years ago

futurist commented 7 years ago
Leaving directory `/root/.emacs.d/elpa/datetime-20161007.1137'
^L
Compiling file /root/.emacs.d/elpa/datetime-20161007.1137/datetime-pkg.el at Sat Mar 18 0\
8:03:09 2017
Entering directory `/root/.emacs.d/elpa/datetime-20161007.1137/'
^L
Compiling file /root/.emacs.d/elpa/datetime-20161007.1137/datetime.el at Sat Mar 18 08:03\
:09 2017

In end of data:
datetime.el:1235:1:Warning: the function `define-error' is not known to be
    defined.

What's this problem?

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-08 on lamiak, modi\ fied by Debian

futurist commented 7 years ago

I've found below may help with this issue:

http://emacs.stackexchange.com/questions/3905/define-error-for-older-emacs

Maybe can use put instead of define-error?

doublep commented 7 years ago

Thank you, done as suggested on the linked page.

Note however, that the library is currently barely useful. The only implemented functionality is matching, since that's all that's currently needed by Logview.