aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-01-05 15:59:50 +0000
committerRichard M. Stallman2006-01-05 15:59:50 +0000
commitf00239cf2670344ce2755ef7a24fa1d860babe24 (patch)
tree9a33bbff81528e167c95a6c92787796d9f067fdb
parent87b6ca8d4e67921065dae4f0633f44d966f65a59 (diff)
downloademacs-f00239cf2670344ce2755ef7a24fa1d860babe24.tar.gz
emacs-f00239cf2670344ce2755ef7a24fa1d860babe24.zip
(mark): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el34
2 files changed, 20 insertions, 18 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d6ff9c58cf0..878daad29ea 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12006-01-05 Richard M. Stallman <rms@gnu.org>
2
3 * simple.el (mark): Doc fix.
4
12006-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 52006-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 6
3 * term/mac-win.el (mac-ae-parameter): Don't coerce data if it is 7 * term/mac-win.el (mac-ae-parameter): Don't coerce data if it is
diff --git a/lisp/simple.el b/lisp/simple.el
index 58e6814b845..46045d2d3f7 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3069,10 +3069,12 @@ it is possible that the region may have changed")
3069 "Hook run when the mark becomes inactive.") 3069 "Hook run when the mark becomes inactive.")
3070 3070
3071(defun mark (&optional force) 3071(defun mark (&optional force)
3072 "Return this buffer's mark value as integer; error if mark inactive. 3072 "Return this buffer's mark value as integer, or nil if never set.
3073If optional argument FORCE is non-nil, access the mark value 3073
3074even if the mark is not currently active, and return nil 3074In Transient Mark mode, this function signals an error if
3075if there is no mark at all. 3075the mark is not active. However, if `mark-even-if-inactive' is non-nil,
3076or the argument FORCE is non-nil, it disregards whether the mark
3077is active, and returns an integer or nil in the usual way.
3076 3078
3077If you are using this in an editing command, you are most likely making 3079If you are using this in an editing command, you are most likely making
3078a mistake; see the documentation of `set-mark'." 3080a mistake; see the documentation of `set-mark'."
@@ -3687,15 +3689,13 @@ and `current-column' to be able to ignore invisible text."
3687 (goto-char (previous-char-property-change (point) line-beg)))))))) 3689 (goto-char (previous-char-property-change (point) line-beg))))))))
3688 3690
3689(defun move-end-of-line (arg) 3691(defun move-end-of-line (arg)
3690 "Move point to end of current line. 3692 "Move point to end of current line as displayed.
3693\(If there's an image in the line, this disregards newlines
3694which are part of the text that the image rests on.)
3695
3691With argument ARG not nil or 1, move forward ARG - 1 lines first. 3696With argument ARG not nil or 1, move forward ARG - 1 lines first.
3692If point reaches the beginning or end of buffer, it stops there. 3697If point reaches the beginning or end of buffer, it stops there.
3693To ignore intangibility, bind `inhibit-point-motion-hooks' to t. 3698To ignore intangibility, bind `inhibit-point-motion-hooks' to t."
3694
3695This command does not move point across a field boundary unless doing so
3696would move beyond there to a different line; if ARG is nil or 1, and
3697point starts at a field boundary, point does not move. To ignore field
3698boundaries bind `inhibit-field-text-motion' to t."
3699 (interactive "p") 3699 (interactive "p")
3700 (or arg (setq arg 1)) 3700 (or arg (setq arg 1))
3701 (let (done) 3701 (let (done)
@@ -3723,15 +3723,13 @@ boundaries bind `inhibit-field-text-motion' to t."
3723 (setq done t))))))) 3723 (setq done t)))))))
3724 3724
3725(defun move-beginning-of-line (arg) 3725(defun move-beginning-of-line (arg)
3726 "Move point to beginning of current display line. 3726 "Move point to beginning of current line as displayed.
3727\(If there's an image in the line, this disregards newlines
3728which are part of the text that the image rests on.)
3729
3727With argument ARG not nil or 1, move forward ARG - 1 lines first. 3730With argument ARG not nil or 1, move forward ARG - 1 lines first.
3728If point reaches the beginning or end of buffer, it stops there. 3731If point reaches the beginning or end of buffer, it stops there.
3729To ignore intangibility, bind `inhibit-point-motion-hooks' to t. 3732To ignore intangibility, bind `inhibit-point-motion-hooks' to t."
3730
3731This command does not move point across a field boundary unless doing so
3732would move beyond there to a different line; if ARG is nil or 1, and
3733point starts at a field boundary, point does not move. To ignore field
3734boundaries bind `inhibit-field-text-motion' to t."
3735 (interactive "p") 3733 (interactive "p")
3736 (or arg (setq arg 1)) 3734 (or arg (setq arg 1))
3737 (if (/= arg 1) 3735 (if (/= arg 1)