diff options
Diffstat (limited to 'lispref/markers.texi')
-rw-r--r-- | lispref/markers.texi | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lispref/markers.texi b/lispref/markers.texi index d9f6d19a4b0..ab16afc3ac4 100644 --- a/lispref/markers.texi +++ b/lispref/markers.texi @@ -441,13 +441,14 @@ programming. So we do not describe it here. @defun mark &optional force @cindex current buffer mark -This function returns the current buffer's mark position as an integer. - -If Transient Mark mode is enabled, @code{mark-even-if-inactive} is -@code{nil} and the mark is inactive, @code{mark} normally signals -an error. However, if @var{force} is non-@code{nil}, then @code{mark} -returns the mark position anyway---or @code{nil}, if the mark is not -yet set for this buffer. +This function returns the current buffer's mark position as an integer, +or @code{nil} if no mark has ever been set in this buffer. + +If Transient Mark mode is enabled, and @code{mark-even-if-inactive} is +@code{nil}, @code{mark} signals an error if the mark is inactive. +However, if @var{force} is non-@code{nil}, then @code{mark} disregards +inactivity of the mark, and returns the mark position anyway (or +@code{nil}). @end defun @defun mark-marker |