diff lisp/simple.el @ 2439:292ead991a10

[xemacs-hg @ 2004-12-14 10:09:08 by stephent] doc `signal-error-on-buffer-boundary'
author stephent
date Tue, 14 Dec 2004 10:09:08 +0000
parents f561c3904bb3
children 3e1c7efd5cde
line wrap: on
line diff
--- a/lisp/simple.el	Tue Dec 14 10:01:52 2004 +0000
+++ b/lisp/simple.el	Tue Dec 14 10:09:08 2004 +0000
@@ -2238,7 +2238,9 @@
 If there is no line in the buffer after this one, behavior depends on the
 value of `next-line-add-newlines'.  If non-nil, it inserts a newline character
 to create a line, and moves the cursor to that line.  Otherwise it moves the
-cursor to the end of the buffer.
+cursor to the end of the buffer.  If `signal-error-on-buffer-boundary' is
+non-nil and you attempt to move past a buffer boundary, XEmacs will ring the
+bell using `ding'.
 
 The command \\[set-goal-column] can be used to create
 a semipermanent goal column to which this command always moves.
@@ -2286,6 +2288,9 @@
 to invoke this command, and `shifted-motion-keys-select-region' is t; see
 the documentation for this variable for more details.
 
+If `signal-error-on-buffer-boundary' is non-nil and you attempt to move past
+a buffer boundary, XEmacs will ring the bell using `ding'.
+
 If you are thinking of using this in a Lisp program, consider using
 `forward-line' with a negative argument instead.  It is usually easier
 to use and more reliable (no dependence on goal column, etc.)."