alpha22jp / simplenote2.el

A new version of emacs helper to interact with Simplenote
GNU General Public License v2.0
58 stars 12 forks source link

Can't get it to run. #40

Open xircon opened 1 year ago

xircon commented 1 year ago

Getting this error Symbol's function definition is void: defun*

Emacs version: 30.0.50.163757-1.

Thanks.

pataquets commented 1 year ago

Try switching branches (there are two of them) and check if it still happens.

xircon commented 1 year ago
** Simplenote:
#+BEGIN_SRC emacs-lisp
  (use-package request-deferred :straight t )
  (use-package simplenote2  :straight (:host github :repo "alpha22jp/simplenote2.el" :branch "develop"))
  (require 'simplenote2)
  (setq simplenote2-email "me@somecompany.com")
  (setq simplenote2-password "****************")
  (simplenote2-setup)
#+END_SRC

Same error:

Building simplenote2...
 ■  Warning (initialization): An error occurred while loading ‘/home/xircon/.emacs’:

Symbol's function definition is void: defun*
zzkt commented 1 year ago

does defun* appear anywhere in your .emacs? could be a typo unless you have extended the standard defun somewhere else?

xircon commented 1 year ago

Nope, it doesn't and I haven't.

pataquets commented 1 year ago

@xircon Recently I've started getting a similar error when syncing: Symbol's function definition is void: lexical-let

After some googling, I found a comment in jwiegley/use-package#571 stating that doing (require 'cl) fixed an identical error message, albeit for a different package. It worked for me, too. For the record, also found this info: syl20bnr/spacemacs#13067

Maybe it helps you, too.