I'm trying to define a key binding that executes a sequence of commands. I add this code to my
(require 'origami) (defun open-close-node () "Open/Close node origami mode" (interactive) ('origami-open-node) ('origami-close-node)) (define-key origami-mode-map (kbd "C-c C-f") 'open-close-node)
Emacs start with no errors, but when i try to use the key binding, shows this
open-close-node: Invalid function: (quote origami-open-node)
What i really trying is to adapt this to my case. By the way, I'm pretty new with lisp language.
I just want a fast key binding to open/close the nodes within