Function: gnus-bookmark-kill-line

gnus-bookmark-kill-line is a byte-compiled function defined in gnus-bookmark.el.gz.

Signature

(gnus-bookmark-kill-line &optional NEWLINE-TOO)

Documentation

Kill from point to end of line.

If optional arg NEWLINE-TOO is non-nil, delete the newline too. Does not affect the kill ring.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-bookmark.el.gz
(defun gnus-bookmark-kill-line (&optional newline-too)
  "Kill from point to end of line.
If optional arg NEWLINE-TOO is non-nil, delete the newline too.
Does not affect the kill ring."
  (delete-region (point) (line-end-position))
  (if (and newline-too (looking-at "\n"))
      (delete-char 1)))