comparison 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
comparison
equal deleted inserted replaced
2438:6c7488f5350a 2439:292ead991a10
2236 column, or at the end of the line if it is not long enough. 2236 column, or at the end of the line if it is not long enough.
2237 2237
2238 If there is no line in the buffer after this one, behavior depends on the 2238 If there is no line in the buffer after this one, behavior depends on the
2239 value of `next-line-add-newlines'. If non-nil, it inserts a newline character 2239 value of `next-line-add-newlines'. If non-nil, it inserts a newline character
2240 to create a line, and moves the cursor to that line. Otherwise it moves the 2240 to create a line, and moves the cursor to that line. Otherwise it moves the
2241 cursor to the end of the buffer. 2241 cursor to the end of the buffer. If `signal-error-on-buffer-boundary' is
2242 non-nil and you attempt to move past a buffer boundary, XEmacs will ring the
2243 bell using `ding'.
2242 2244
2243 The command \\[set-goal-column] can be used to create 2245 The command \\[set-goal-column] can be used to create
2244 a semipermanent goal column to which this command always moves. 2246 a semipermanent goal column to which this command always moves.
2245 Then it does not try to move vertically. This goal column is stored 2247 Then it does not try to move vertically. This goal column is stored
2246 in `goal-column', which is nil when there is none. 2248 in `goal-column', which is nil when there is none.
2283 2285
2284 The characters that are moved over may be added to the current selection 2286 The characters that are moved over may be added to the current selection
2285 \(i.e. active region) if the Shift key is held down, a motion key is used 2287 \(i.e. active region) if the Shift key is held down, a motion key is used
2286 to invoke this command, and `shifted-motion-keys-select-region' is t; see 2288 to invoke this command, and `shifted-motion-keys-select-region' is t; see
2287 the documentation for this variable for more details. 2289 the documentation for this variable for more details.
2290
2291 If `signal-error-on-buffer-boundary' is non-nil and you attempt to move past
2292 a buffer boundary, XEmacs will ring the bell using `ding'.
2288 2293
2289 If you are thinking of using this in a Lisp program, consider using 2294 If you are thinking of using this in a Lisp program, consider using
2290 `forward-line' with a negative argument instead. It is usually easier 2295 `forward-line' with a negative argument instead. It is usually easier
2291 to use and more reliable (no dependence on goal column, etc.)." 2296 to use and more reliable (no dependence on goal column, etc.)."
2292 (interactive "_p") 2297 (interactive "_p")