emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm 9dee8f7bd1 2/4: Avoid having org bookmarks both in fi


From: ELPA Syncer
Subject: [nongnu] elpa/helm 9dee8f7bd1 2/4: Avoid having org bookmarks both in files and org
Date: Sat, 30 Mar 2024 15:59:52 -0400 (EDT)

branch: elpa/helm
commit 9dee8f7bd1d02bc8d848597e2478e63bf0f090f5
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Avoid having org bookmarks both in files and org
---
 helm-bookmark.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helm-bookmark.el b/helm-bookmark.el
index e65862ab72..15865977da 100644
--- a/helm-bookmark.el
+++ b/helm-bookmark.el
@@ -307,7 +307,10 @@ BOOKMARK is a bookmark name or a bookmark record.
 This excludes bookmarks of a more specific kind (Info, Gnus, and W3m)."
   (let* ((filename   (bookmark-get-filename bookmark))
          (isnonfile  (equal filename helm-bookmark--non-file-filename)))
-    (and filename (not isnonfile) (not (bookmark-get-handler bookmark)))))
+    (and filename
+         (not isnonfile)
+         (not (helm-bookmark-org-file-p bookmark))
+         (not (bookmark-get-handler bookmark)))))
 
 (defun helm-bookmark-org-file-p (bookmark)
   (let* ((filename (bookmark-get-filename bookmark)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]