Skip to content

Commit 43428bb

Browse files
committed
Change: Update archive.is-related code
1 parent ac2362d commit 43428bb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.org

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3844,13 +3844,13 @@ CLOSED: [2017-08-03 Thu 15:11]
38443844
#+BEGIN_SRC elisp :exports code :results silent
38453845
(require 'org-web-tools)
38463846

3847-
(defun emacs-package-dev-handbook--archive.today-capture (url)
3848-
"Return archive.today archived URL for URL."
3849-
(when-let* ((id (org-web-tools-archive--archive.today-url-id url)))
3847+
(defun emacs-package-dev-handbook--archive.is-capture (url)
3848+
"Return archive.is archived URL for URL."
3849+
(when-let* ((id (org-web-tools-archive--archive.is-url-id url)))
38503850
(format "http://%s/%s" org-web-tools-archive-hostname id)))
38513851

3852-
(cl-defun emacs-package-dev-handbook-insert-archive.today-property (url)
3853-
"Set the \"archive.today\" property for entry at point to the archived version of URL.
3852+
(cl-defun emacs-package-dev-handbook-insert-archive.is-property (url)
3853+
"Set the \"archive.is\" property for entry at point to the archived version of URL.
38543854
Interactively, assumes heading on/before point is an Org link to
38553855
a web page."
38563856
(interactive (list (save-excursion
@@ -3859,8 +3859,8 @@ CLOSED: [2017-08-03 Thu 15:11]
38593859
(beginning-of-line)
38603860
(when (re-search-forward org-bracket-link-regexp (line-end-position) 'noerror)
38613861
(org-link-unescape (match-string-no-properties 1))))))
3862-
(when-let ((archive-url (emacs-package-dev-handbook--archive.today-capture url)))
3863-
(org-set-property "archive.today" archive-url)))
3862+
(when-let ((archive-url (emacs-package-dev-handbook--archive.is-capture url)))
3863+
(org-set-property "archive.is" archive-url)))
38643864
#+END_SRC
38653865

38663866
*** TODO Insert new entry at point

0 commit comments

Comments
 (0)