aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoseph Arceneaux1992-08-30 05:01:59 +0000
committerJoseph Arceneaux1992-08-30 05:01:59 +0000
commitac876a7913c7b01f02b8f7f6a3d7f9d4580b0c46 (patch)
tree25a8a11c925bf328444b12a8104d0bd45c2c0609 /src
parent1635fcdddd1e772a7824d1094ac3272005d95c96 (diff)
downloademacs-ac876a7913c7b01f02b8f7f6a3d7f9d4580b0c46.tar.gz
emacs-ac876a7913c7b01f02b8f7f6a3d7f9d4580b0c46.zip
entered into RCS
Diffstat (limited to 'src')
-rw-r--r--src/textprop.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 2eae895c25f..e7387bd1262 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -45,9 +45,12 @@ Lisp_Object Qmodification;
45Lisp_Object Qforeground, Qbackground, Qfont, Qunderline, Qstipple; 45Lisp_Object Qforeground, Qbackground, Qfont, Qunderline, Qstipple;
46Lisp_Object Qinvisible, Qread_only; 46Lisp_Object Qinvisible, Qread_only;
47 47
48/* Extract the interval at position BEGIN from OBJECT, a string 48/* Extract the interval at the position pointed to by BEGIN from
49 or buffer. Additionally, check that BEGIN and END are within 49 OBJECT, a string or buffer. Additionally, check that the positions
50 the bounds of OBJECT. 50 pointed to by BEGIN and END are within the bounds of OBJECT, and
51 reverse them if *BEGIN is greater than *END. The objects pointed
52 to by BEGIN and END may be integers or markers; if the latter, they
53 are coerced to integers.
51 54
52 Note that buffer points don't correspond to interval indices. 55 Note that buffer points don't correspond to interval indices.
53 For example, point-max is 1 greater than the index of the last 56 For example, point-max is 1 greater than the index of the last
@@ -58,7 +61,9 @@ Lisp_Object Qinvisible, Qread_only;
58 Handle this case specially. 61 Handle this case specially.
59 62
60 If FORCE is soft (0), it's OK to return NULL_INTERVAL. Otherwise, 63 If FORCE is soft (0), it's OK to return NULL_INTERVAL. Otherwise,
61 create an interval tree for OBJECT if one doesn't exist. */ 64 create an interval tree for OBJECT if one doesn't exist, provided
65 the object actually contains text. In the current design, if there
66 is no text, there can be no text properties. */
62 67
63#define soft 0 68#define soft 0
64#define hard 1 69#define hard 1