joostkremers / pandoc-mode

An Emacs minor mode for interacting with Pandoc.
https://joostkremers.github.io/pandoc-mode/
178 stars 14 forks source link

void variable caddr #35

Closed hugoroy closed 9 years ago

hugoroy commented 9 years ago

I get an error when launching emacs after updating pandoc-mode:

Symbol's function definition is void: caddr

Here's what I get with --debug-init

Debugger entered--Lisp error: (void-function caddr) (caddr hydra) (format (caddr hydra) prompt) (concat "" (cadr hydra) ": " (format (caddr hydra) prompt) (format " [%%s(pandoc--pp-option '%s)]" option)) (list (concat "" (cadr hydra) ": " (format (caddr hydra) prompt) (format " [%%s(pandoc--pp-option '%s)]" option)) (cadr hydra) (intern (concat "pandoc-set-" (symbol-name option)))) (list (quote quote) (list (concat "" (cadr hydra) ": " (format (caddr hydra) prompt) (format " [%%s(pandoc--pp-option '%s)]" option)) (cadr hydra) (intern (concat "pandoc-set-" (symbol-name option))))) (list (quote push) (list (quote quote) (list (concat "_" (

hugoroy commented 9 years ago

adding (require 'cl) did the trick https://github.com/joostkremers/pandoc-mode/issues/5

(i'm on a windows machine right now, this may be related)

joostkremers commented 9 years ago

Hi, sorry for the late reply. Thanks for reporting this, the cl package should simply be required. Not just on Windows. ;-)