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:
parent
9ea680ad80
commit
c7703d1eeb
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue