Changeset 4091 for trunk/lisp/comint.el
- Timestamp:
- 05/27/06 10:35:24 (2 years ago)
- Files:
-
- trunk/lisp/comint.el (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/comint.el
r4079 r4091 2358 2358 (remove-list-of-text-properties (1- pt) pt '(read-only))))))) 2359 2359 2360 (defun comint-kill-whole-line (&optional arg)2360 (defun comint-kill-whole-line (&optional count) 2361 2361 "Kill current line, ignoring read-only and field properties. 2362 With prefix arg , kill that many lines starting from the current line.2363 If argis negative, kill backward. Also kill the preceding newline,2362 With prefix arg COUNT, kill that many lines starting from the current line. 2363 If COUNT is negative, kill backward. Also kill the preceding newline, 2364 2364 instead of the trailing one. \(This is meant to make \\[repeat] work well 2365 2365 with negative arguments.) 2366 If argis zero, kill current line but exclude the trailing newline.2366 If COUNT is zero, kill current line but exclude the trailing newline. 2367 2367 The read-only status of newlines is updated with `comint-update-fence', 2368 2368 if necessary." 2369 2369 (interactive "p") 2370 2370 (let ((inhibit-read-only t) (inhibit-field-text-motion t)) 2371 (kill-whole-line arg)2372 (when (>= arg0) (comint-update-fence))))2371 (kill-whole-line count) 2372 (when (>= count 0) (comint-update-fence)))) 2373 2373 2374 2374 (defun comint-kill-region (beg end &optional yank-handler)
