aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emacs/.config/emacs/elisp/org-bookmark.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/elisp/org-bookmark.el b/Emacs/.config/emacs/elisp/org-bookmark.el
index 9d26c94..795e969 100644
--- a/Emacs/.config/emacs/elisp/org-bookmark.el
+++ b/Emacs/.config/emacs/elisp/org-bookmark.el
@@ -86,8 +86,8 @@ are cached for faster lookup."
(with-current-buffer (find-file-noselect org-bookmark/file)
(let ((cur-last-modified (float-time (visited-file-modtime))))
(when (or (null org-bookmark/--cache) ; no cache
- (null org-bookmark/--cache-last-modified) ; no last modified
- (not (= cur-last-modified org-bookmark/--cache-last-modified))) ; file has been modified
+ (null org-bookmark/--cache-last-modified) ; no last modified
+ (not (= cur-last-modified org-bookmark/--cache-last-modified))) ; file has been modified
(setq org-bookmark/--cache-last-modified cur-last-modified
org-bookmark/--cache (mapcar
#'org-bookmark/--format-heading-data
@@ -125,9 +125,9 @@ opening the url to some handler function."
(cl-loop
for (patterns . func) in org-bookmark/dispatch-list
if (or (eq patterns 'otherwise)
- (cl-some
- #'(lambda (pattern) (string-match pattern url))
- patterns))
+ (cl-some
+ #'(lambda (pattern) (string-match pattern url))
+ patterns))
return func)))
(message "dispatch-choice=%S" dispatch-choice)
(funcall dispatch-choice (cdr pair))))))