branch: externals/org
commit 5eb929a27c2615f790c71ea1efbdf16e40dcd6d1
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    lisp/ol.el (org-link--store-shortdoc): Fix typo
---
 lisp/ol.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ol.el b/lisp/ol.el
index 6e6bc74dcb..4ae1da95d4 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -1604,7 +1604,7 @@ string\"."
 
 (defun org-link--store-shortdoc (&optional _interactive?)
   "Store \"shortdoc\" type link."
-  (when (derived-mode-p 'org-mode)
+  (when (derived-mode-p 'shortdoc-mode)
     (let* ((buffer (buffer-name))
            (group (when (string-match "*Shortdoc \\(.*\\)\\*" buffer)
                     (match-string 1 buffer))))

Reply via email to