[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/org-contacts-rebased 58ea7f2 095/118: org-contacts.el: Fi
From: |
Stefan Monnier |
Subject: |
[elpa] scratch/org-contacts-rebased 58ea7f2 095/118: org-contacts.el: Fix org-store-link error caused by org-contacts |
Date: |
Fri, 12 Nov 2021 15:37:11 -0500 (EST) |
branch: scratch/org-contacts-rebased
commit 58ea7f2e3251d9dfa26289b206de14f1a3faa4d2
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
org-contacts.el: Fix org-store-link error caused by org-contacts
* contrib/lisp/org-contacts.el (org-contacts-link-store): Fix Org store
link by adding missing condition for org-contacts.
---
org-contacts.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/org-contacts.el b/org-contacts.el
index 310166d..44ba455 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -1157,8 +1157,8 @@ are effectively trimmed). If nil, all zero-length
substrings are retained."
(defun org-contacts-link-store ()
"Store the contact in `org-contacts-files' with a link."
- (when (eq major-mode 'org-mode)
- ;; (member (buffer-file-name) (mapcar 'expand-file-name
org-contacts-files))
+ (when (and (eq major-mode 'org-mode)
+ (member (buffer-file-name) (mapcar 'expand-file-name
org-contacts-files)))
(let ((headline-str (substring-no-properties (org-get-heading t t t t))))
(org-store-link-props
:type "org-contact"
- [elpa] scratch/org-contacts-rebased 034be20 093/118: org-contacts.el: Add new link type "contact:", (continued)
- [elpa] scratch/org-contacts-rebased 034be20 093/118: org-contacts.el: Add new link type "contact:", Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 7161351 094/118: contrib/lisp/org-contacts.el: Add stardiviner as the maintainer, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 3beb906 057/118: org-contacts: Use progress-reporter for cache update message, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 0c439a4 102/118: org-contacts.el: Fix store link function does not return link., Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased cf0668a 064/118: org-contacts: Provide ordering when using cycle completion, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 8e07b36 082/118: contrib: move a few libraries to cl-lib in place of compile-time cl., Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 9a80cca 085/118: org-contacts: Register "tel" link, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 3ed6376 086/118: org-agenda: Remove unnecessary visibility modification, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 9f46067 088/118: Deprecate `org-no-warnings' in favor of `with-no-warnings', Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 8d0ca82 090/118: Update tel link definition, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 58ea7f2 095/118: org-contacts.el: Fix org-store-link error caused by org-contacts,
Stefan Monnier <=
- [elpa] scratch/org-contacts-rebased dcbbc77 097/118: org-contacts.el: Inherit face from org-link, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased d1365ce 101/118: org-contacts.el: Use `bound-and-true-p' to check (unbound) var, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 83f7226 103/118: Fix typo in 124cc7a1a, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased f81ebdc 105/118: Prefer HTTPS to HTTP for links to gnu.org, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 50fff11 107/118: Don't use deprecated functions, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased ede6e73 108/118: Remove compatibility code, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 3ad99fe 112/118: add README.org, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased c472159 113/118: Avoid *Org-Agenda* buffer use org-contacts-matcher in buffer-name, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 7dd30d9 115/118: replace gnus-rescale-image with create-image property :height, Stefan Monnier, 2021/11/12
- [elpa] scratch/org-contacts-rebased 974f1b7 117/118: Add package introduction in README, Stefan Monnier, 2021/11/12