branch: externals/auto-overlays
commit c34178b118fe61154d50daa78e90f8d446394599
Author: Toby S. Cubitt <[email protected]>
Commit: Toby S. Cubitt <[email protected]>
Add auto-overlays autoloads.
---
auto-overlay-common.el | 15 ++++++++-------
auto-overlays.el | 4 ++++
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/auto-overlay-common.el b/auto-overlay-common.el
index 19ddd34..994b20d 100644
--- a/auto-overlay-common.el
+++ b/auto-overlay-common.el
@@ -29,6 +29,7 @@
(provide 'auto-overlay-common)
+;;;###autoload
(defun auto-overlays-at-point (&optional point prop-test inactive)
"Return overlays overlapping POINT
(or the point, if POINT is null). If PROP-TEST is supplied, it
@@ -76,13 +77,13 @@ PROP-TEST."
(= (overlay-start o) point))
(push o overlay-list)))
- overlay-list)
-)
+ overlay-list))
-;; FIXME: get rid of INACTIVE argument
+;;;###autoload
(defun auto-overlays-in (start end &optional prop-test within inactive)
+;; FIXME: get rid of INACTIVE argument?
"Return auto overlays overlapping region between START and END.
If PROP-TEST is supplied, it should be a list which specifies a
@@ -163,11 +164,11 @@ PROP-TEST."
;; add overlay to result list if its properties matched
(when result (push o overlay-list)))
;; return result list
- overlay-list)
-)
+ overlay-list))
+;;;###autoload
(defun auto-overlay-highest-priority-at-point (&optional point proptest)
"Return highest priority overlay at POINT (defaults to the point).
@@ -197,11 +198,11 @@ See `auto-overlays-at' for ane explanation of the
PROPTEST argument."
(setq overlay o1)))
;; return the overlay
- overlay)
-)
+ overlay))
+;;;###autoload
(defun auto-overlay-local-binding (symbol &optional point only-overlay)
"Return \"overlay local \" binding of SYMBOL at POINT,
or the current local binding if there is no overlay binding. If
diff --git a/auto-overlays.el b/auto-overlays.el
index 3cd9af2..b0baa2d 100644
--- a/auto-overlays.el
+++ b/auto-overlays.el
@@ -383,6 +383,7 @@ Comparison is done with `eq'."
;;;=========================================================
;;; auto-overlay definition functions
+;;;###autoload
(defun auto-overlay-load-definition (set-id definition &optional pos)
"Load DEFINITION into the set of auto-overlay definitions SET-ID
in the current buffer. If SET-ID does not exist, it is created.
@@ -477,6 +478,7 @@ symbol that can be used to uniquely identify REGEXP (see
+;;;###autoload
(defun auto-overlay-load-regexp (set-id definition-id regexp &optional pos)
"Load REGEXP into the auto-overlay definition identified by
DEFINITION-ID in the regexp list named SET-ID in the current
@@ -653,6 +655,7 @@ Returns the deleted regexp."
+;;;###autoload
(defun auto-overlay-share-regexp-set (set-id from-buffer &optional to-buffer)
"Make TO-BUFFER share the regexp set identified by SET-ID with FROM-BUFFER.
Any changes to that regexp set in either buffer will be reflected in the
@@ -857,6 +860,7 @@ The overlays can be loaded again later using
+;;;###autoload
(defun auto-overlay-load-overlays (set-id &optional buffer
file no-regexp-check)
"Load overlays for BUFFER from FILE.