aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall1999-10-06 10:58:43 +0000
committerDavid Aspinall1999-10-06 10:58:43 +0000
commit6dc8dc55d1ef1c742f71d8c0388388bb6b131ed4 (patch)
tree7fd9cf8acb29d32bb0ed359fa7331d1cf01c2e88
parent0f4228ff072e374d439e88bd60dea9cc04473379 (diff)
docstrings
-rw-r--r--generic/span-extent.el4
-rw-r--r--generic/span-overlay.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/span-extent.el b/generic/span-extent.el
index a84f91c9..786eaf76 100644
--- a/generic/span-extent.el
+++ b/generic/span-extent.el
@@ -76,11 +76,11 @@ A span is before PT if it covers the character before PT."
(extent-at pt nil prop nil 'before))
(defsubst span-start (span)
- "Return the start position of SPAN."
+ "Return the start position of SPAN, or nil if SPAN is detatched."
(extent-start-position span))
(defsubst span-end (span)
- "Return the end position of SPAN."
+ "Return the end position of SPAN, or nil if SPAN is detatched."
(extent-end-position span))
(defsubst prev-span (span prop)
diff --git a/generic/span-overlay.el b/generic/span-overlay.el
index 7f0bbb34..87a57da2 100644
--- a/generic/span-overlay.el
+++ b/generic/span-overlay.el
@@ -72,7 +72,7 @@ elements = S0 S1 S2 .... [tl-seq.el]"
(defun span-read-only (span)
"Set SPAN to be read only."
;; Unfortunately, this function is called on spans which are
- ;; detached from a buffer, which gives an error her, since
+ ;; detached from a buffer, which gives an error here, since
;; text-properties are associated with text in a particular
;; buffer position.
;(add-text-properties (span-start span) (span-end span) '(read-only t)))