summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Arceneaux <jla@gnu.org>1992-10-01 00:56:11 +0000
committerJoseph Arceneaux <jla@gnu.org>1992-10-01 00:56:11 +0000
commitcd777d210c4ddde6ec08de22b4034d1e6dbe2db1 (patch)
tree027a7702003142b2292e9ce8e202c12561887d06 /src
parent17ed0d2be8e4be23836fb2054ce062488d4d2a36 (diff)
downloademacs-cd777d210c4ddde6ec08de22b4034d1e6dbe2db1.tar.gz
Various comment changes.
Diffstat (limited to 'src')
-rw-r--r--src/intervals.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/intervals.c b/src/intervals.c
index fc725b5fac8..4a0dde12887 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1277,9 +1277,7 @@ graft_intervals_into_buffer (source, position, buffer)
an invisible interval which is not displayed with a special glyph,
skip intervals until we find one. Point may be at the first
position of an invisible interval, if it is displayed with a
- special glyph.
-
- This is the only place `PT' is an lvalue in all of emacs. */
+ special glyph. */
void
set_point (position, buffer)
@@ -1352,8 +1350,9 @@ set_point (position, buffer)
else
buffer->text.pt = to->position;
- /* We should run point-left and point-entered hooks here, iff the
- two intervals are not equivalent. */
+ /* We run point-left and point-entered hooks here, iff the
+ two intervals are not equivalent. These hooks take
+ (old_point, new_point) as arguments. */
if (! intervals_equal (from, to))
{
Lisp_Object val;
@@ -1549,7 +1548,7 @@ copy_intervals (tree, start, length)
/* Give STRING the properties of BUFFER from POSITION to LENGTH. */
-void
+INLINE void
copy_intervals_to_string (string, buffer, position, length)
Lisp_Object string, buffer;
int position, length;