I checked out the latest org mode, and I'm getting "Symbol's function
definition is void: second"
I ran git-bisect, and the error was introduced with the merge of
org-babel into the main
branch.
The code that's causing the error is here:
#+tblname:shortcut-definition-list
| Something | <f6> a | A33F7A0C-F974-4C7F-A4FD-1AAA6CF9C60E |
#+srcname: map-nav(shortcut-definition-list=shortcut-definition-list)
#+begin_src emacs-lisp
(defun map-navigation-shortcuts(shortcut-def)
(global-set-key (read-kbd-macro (second shortcut-def))
(lexical-let ((shortcut-def shortcut-def))
(lambda ()
(interactive)
(org-id-goto (third shortcut-def))))))
(mapcar #'map-navigation-shortcuts shortcut-definition-list)
------------------------
This is the cool "use a table to map keyboard shortcuts" code that was
given to me in this conversation:
http://www.mail-archive.com/[email protected]/msg24971.html
I've verified that the above code works with org-babel outside of the
main branch, at this commit:
commit a3cc050a9675127f4f9fb85ba30cb5c0b4417cf8
Author: Eric Schulte <[email protected]>
Date: Fri Apr 30 13:03:38 2010 -0600
Any ideas?
Should I try to find the exact commit where it starts failing?
Thanks,
--Nate
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode