update packages

This commit is contained in:
2025-02-26 20:16:44 +01:00
parent 59db017445
commit 45d49daef0
291 changed files with 16240 additions and 522600 deletions

View File

@@ -1,4 +1,4 @@
;;; ol-bookmark.el --- Links to bookmarks
;;; ol-bookmark.el --- Links to bookmarks -*- lexical-binding: t; -*-
;; Copyright (C) 2008-2021 Free Software Foundation, Inc.
;;
@@ -59,6 +59,8 @@ Otherwise prompt the user for the right bookmark to use."
(defun org-bookmark-store-link ()
"Store a link to the current line's bookmark in bookmark list."
(require 'dired)
(declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep))
(let (file bookmark bmks)
(cond ((and org-bookmark-in-dired
(eq major-mode 'dired-mode))
@@ -83,7 +85,7 @@ Otherwise prompt the user for the right bookmark to use."
(car bmks)
(completing-read "Bookmark: " bmks nil t nil nil (car bmks))))))
(if bookmark
(org-store-link-props :link (concat "bookmark:" bookmark)
(org-link-store-props :link (concat "bookmark:" bookmark)
:description bookmark))))
(provide 'ol-bookmark)