0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 02:02:52 +00:00

Make store-link work like interactive when executing a keyboard macro.

This commit is contained in:
Carsten Dominik 2009-06-24 14:16:49 +02:00
parent 9ea680ad80
commit c7703d1eeb

View file

@ -7068,7 +7068,7 @@ For file links, arg negates `org-context-in-file-links'."
desc (or desc cpltxt))
(if (equal desc "NONE") (setq desc nil))
(if (and (interactive-p) link)
(if (and (or (interactive-p) executing-kbd-macro) link)
(progn
(setq org-stored-links
(cons (list link desc) org-stored-links))