Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6d57c318
Commit
6d57c318
authored
Oct 19, 2001
by
Miles Bader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fline_beginning_position, Fline_end_position): Clarify documentation.
parent
8abc9869
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
src/editfns.c
src/editfns.c
+15
-8
No files found.
src/editfns.c
View file @
6d57c318
...
...
@@ -713,15 +713,16 @@ Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. */)
}
DEFUN ("line-beginning-position",
Fline_beginning_position, Sline_beginning_position,
0, 1, 0,
DEFUN
(
"line-beginning-position"
,
Fline_beginning_position
,
Sline_beginning_position
,
0
,
1
,
0
,
doc
:
/* Return the character position of the first character on the current line.
With argument N not nil or 1, move forward N - 1 lines first.
If scan reaches end of buffer, return that position.
The scan does not cross a field boundary unless it would move
beyond there to a different line. Field boundaries are not noticed if
`inhibit-field-text-motion' is non-nil. And if N is nil or 1,
and scan starts at a field boundary, the scan stops as soon as it starts.
The scan does not cross a field boundary unless doing so would move
beyond there to a different line; if N is nil or 1, and scan starts at a
field boundary, the scan stops as soon as it starts. To ignore field
boundaries bind `inhibit-field-text-motion' to t.
This function does not move point. */
)
(
n
)
...
...
@@ -747,11 +748,16 @@ This function does not move point. */)
Qt
,
Qnil
);
}
DEFUN ("line-end-position", Fline_end_position, Sline_end_position,
0, 1, 0,
DEFUN
(
"line-end-position"
,
Fline_end_position
,
Sline_end_position
,
0
,
1
,
0
,
doc
:
/* Return the character position of the last character on the current line.
With argument N not nil or 1, move forward N - 1 lines first.
If scan reaches end of buffer, return that position.
The scan does not cross a field boundary unless doing so would move
beyond there to a different line; if N is nil or 1, and scan starts at a
field boundary, the scan stops as soon as it starts. To ignore field
boundaries bind `inhibit-field-text-motion' to t.
This function does not move point. */
)
(
n
)
Lisp_Object
n
;
...
...
@@ -770,6 +776,7 @@ This function does not move point. */)
return
Fconstrain_to_field
(
make_number
(
end_pos
),
make_number
(
orig
),
Qnil
,
Qt
,
Qnil
);
}
Lisp_Object
save_excursion_save
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment