[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark dcdc39e394 22/37: fix: missing defvar org-re
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark dcdc39e394 22/37: fix: missing defvar org-remark-source-find-file-name-functions |
Date: |
Sat, 14 Jan 2023 10:58:02 -0500 (EST) |
branch: externals/org-remark
commit dcdc39e394d7542d576fc0cdd73483e7ad4cce38
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
fix: missing defvar org-remark-source-find-file-name-functions
Thanks to GitHub user @sati-bodhi in #54
This part of contirubtion is less than 15 lines of code, which does not
require FSF copyright assignment.
---
org-remark-eww.el | 4 ++--
org-remark-global-tracking.el | 12 +++++++++++-
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/org-remark-eww.el b/org-remark-eww.el
index 1dde594380..3e94593de4 100644
--- a/org-remark-eww.el
+++ b/org-remark-eww.el
@@ -6,7 +6,7 @@
;; Noboru Ota <me@nobiot.com>
;; URL: https://github.com/nobiot/org-remark
;; Created: 23 December 2022
-;; Last modified: 10 January 2023
+;; Last modified: 11 January 2023
;; Package-Requires: ((emacs "27.1") (org "9.4"))
;; Keywords: org-mode, annotation, note-taking, marginal-notes, wp
@@ -35,7 +35,7 @@
;;; Code:
(require 'eww)
-(declare-function org-remark-auto-on "org-remark-global-tracking")
+(require 'org-remark-global-tracking)
;;;###autoload
(define-minor-mode org-remark-eww-mode
diff --git a/org-remark-global-tracking.el b/org-remark-global-tracking.el
index ffc58243ac..a7dbc63978 100644
--- a/org-remark-global-tracking.el
+++ b/org-remark-global-tracking.el
@@ -5,7 +5,7 @@
;; Author: Noboru Ota <me@nobiot.com>
;; URL: https://github.com/nobiot/org-remark
;; Created: 15 August 2021
-;; Last modified: 10 January 2023
+;; Last modified: 11 January 2023
;; Package-Requires: ((emacs "27.1") (org "9.4"))
;; Keywords: org-mode, annotation, note-taking, marginal-notes, wp
@@ -61,6 +61,16 @@ Each one is called with FILENAME as an argument."
:group 'org-remark
:type '(repeat function))
+(defvar org-remark-source-find-file-name-functions nil
+ "List of functions to get the source file name.
+It is an abnormal hook run with no argument and each function
+must return a file-name-equvalent as a string that uniquely
+identifies the source. The hook is run when `buffer-file-name`
+in source buffer returns nil, meaning the source buffer is not
+visiting a file.
+
+Meant to be set by extensions such as `org-remark-eww'")
+
;;;###autoload
(define-minor-mode org-remark-global-tracking-mode
"Automatically activates local minor mode `org-remark-mode'.
- [elpa] externals/org-remark f661e6c78e 21/37: docs: updated NEWS, (continued)
- [elpa] externals/org-remark f661e6c78e 21/37: docs: updated NEWS, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 59b01a827c 27/37: docs: README, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 6cd69b44d2 08/37: docs: corrected based on flymake and checkdoc, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark ad0c5e39c2 09/37: refactor: org-remark-notes-setup, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark a89d5a9645 13/37: fix(save): save per highlight and regession for when source = notes, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 8004555a9b 16/37: fix: highlights housekeep to delete notes when you want to keep, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark f48992594d 26/37: docs: CHANGELOG, NEWS, README, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 4c4d729962 36/37: docs: fix formatting issue of known limitations in user manual, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 1ec641589f 12/37: fix: undo a9a3520., ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 048a39f3f9 14/37: fix(save): modifiedp when source = notes buffer, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark dcdc39e394 22/37: fix: missing defvar org-remark-source-find-file-name-functions,
ELPA Syncer <=
- [elpa] externals/org-remark 4e7db78df3 25/37: docs: README, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark f1f3310c11 28/37: docs: README & user manual, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark a377f92e4a 32/37: Merge branch 'dev/round-off' for v1.1.0-rc (not bumped yet), ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 2e2f979ba2 33/37: docs: fix error in make process for document generation, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark bd908a9356 34/37: docs: fix footnotes, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 0c05c3f9a6 23/37: docs: update NEWS for 1.1.0-rc, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 8b99586643 35/37: docs: fix README for org-remark-eww set up, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 6d303ea0a7 29/37: docs: User manual and README, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark e5d27c4770 31/37: docs: README all the contributors, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark f603ad6769 37/37: docs: fix link to marginalia -> remark data conversation issue, ELPA Syncer, 2023/01/14