[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 3458b548f4 303/372: - removed warning related to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 3458b548f4 303/372: - removed warning related to misplaced '(interactive)' |
Date: |
Fri, 4 Feb 2022 16:59:13 -0500 (EST) |
branch: elpa/annotate
commit 3458b548f455e1ac2768734ecd380bac2bcf509c
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>
- removed warning related to misplaced '(interactive)'
- removed warning because of expanding a macro that was defined later in
the code.
---
annotate.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/annotate.el b/annotate.el
index dbd56f521b..f938a2667e 100644
--- a/annotate.el
+++ b/annotate.el
@@ -474,6 +474,11 @@ modified (for example a newline is inserted)."
"Is 'overlay' an annotation?"
(annotate-overlay-filled-p overlay))
+(cl-defmacro annotate-ensure-annotation ((overlay) &body body)
+ "Runs body only if overlay is an annotation (i.e. passes annotationp)"
+ `(and (annotationp ,overlay)
+ (progn ,@body)))
+
(defun annotate--position-on-annotated-text-p (pos)
"Does `pos' (as buffer position) corresponds to a character
that belong to some annotated text?"
@@ -1420,9 +1425,9 @@ example:
'(\"/foo/bar\" ((0 9 \"note\" \"annotated\")) hash-as-hex-string)
"
+ (interactive)
(cl-labels ((old-format-p (annotation)
(not (stringp (cl-first (last annotation))))))
- (interactive)
(let* ((filename (annotate-actual-file-name))
(all-annotations-data (annotate-load-annotation-data t))
(annotation-dump (assoc-string filename all-annotations-data))
@@ -1637,11 +1642,6 @@ functions).
(or (null a)
(string= "" a)))
-(cl-defmacro annotate-ensure-annotation ((overlay) &body body)
- "Runs body only if overlay is an annotation (i.e. passes annotationp)"
- `(and (annotationp ,overlay)
- (progn ,@body)))
-
(defun annotate-annotation-prop-get (annotation property)
"Get property `property' from annotation `annotation'. If
`annotation' does not pass `annotationp' returns nil"
- [nongnu] elpa/annotate 85520c0202 228/372: - fixed version number., (continued)
- [nongnu] elpa/annotate 85520c0202 228/372: - fixed version number., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3f0c28cab6 241/372: - fixed a bug that allowed to create an annotation with an empty text., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2050c59af3 227/372: - marked buffer as unmodified when switching database and the only, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 99d99e5bcb 234/372: Merge pull request #72 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4b2fa8f61e 252/372: - removed function 'annotate-load-annotation-data-ignore-errors'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c972641056 258/372: - Using "help-echo" to print annotations instead of render it on the buffer., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9320918b91 270/372: Merge pull request #84 from cage2/fix-regression-multiline-annotations, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3e70e187b3 262/372: - updated NEWS and Changelog., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4af196ce04 312/372: - updated Changelog and NEWS.org., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3a4dc507c2 305/372: - removed unused functions., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3458b548f4 303/372: - removed warning related to misplaced '(interactive)',
ELPA Syncer <=
- [nongnu] elpa/annotate ed5f00d51c 351/372: - increased version number., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate ffd6bbcc11 340/372: - allowed paths with spaces in a search query., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b9c908f24c 365/372: Merge pull request #115 from cage2/fix-delete-ghost-db, ELPA Syncer, 2022/02/04