From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.devel Subject: Docstring for kill-line Date: Sat, 17 Feb 2007 10:09:46 +0100 Message-ID: <45D6C65A.9080507@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171703342 17852 80.91.229.12 (17 Feb 2007 09:09:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 09:09:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 17 10:08:55 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HILYs-000412-Qu for ged-emacs-devel@m.gmane.org; Sat, 17 Feb 2007 10:08:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HILYs-0001V9-7J for ged-emacs-devel@m.gmane.org; Sat, 17 Feb 2007 04:08:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HILYf-0001V3-5j for emacs-devel@gnu.org; Sat, 17 Feb 2007 04:08:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HILYe-0001Ur-Dj for emacs-devel@gnu.org; Sat, 17 Feb 2007 04:08:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HILYe-0001Uo-76 for emacs-devel@gnu.org; Sat, 17 Feb 2007 04:08:40 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.52) id 1HILYd-0007Hx-KP for emacs-devel@gnu.org; Sat, 17 Feb 2007 04:08:39 -0500 Original-Received: (qmail invoked by alias); 17 Feb 2007 09:08:38 -0000 X-Provags-ID: V01U2FsdGVkX18UIhh9bV0UerGZcdJL5Wh1mRlC4KMQ143L3ZzwAb 7VWQ== User-Agent: IceDove 1.5.0.9 (X11/20061220) X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66476 Archived-At: The docstring for kill-line mentions beginning-of-line, which has been superseded by move-beginning-of-line. The following small patch takes care of this: ChangeLog entry: 2007-02-17 Sven Joachim * simple.el (kill-line): Doc fix. *** simple.el~ 2007-02-08 07:31:28.000000000 +0100 --- simple.el 2007-02-17 09:40:19.000000000 +0100 *************** *** 2842,2853 **** a number counts as a prefix arg. To kill a whole line, when point is not at the beginning, type \ ! \\[beginning-of-line] \\[kill-line] \\[kill-line]. If `kill-whole-line' is non-nil, then this command kills the whole line including its terminating newline, when used at the beginning of a line with no argument. As a consequence, you can always kill a whole line ! by typing \\[beginning-of-line] \\[kill-line]. If you want to append the killed line to the last killed text, use \\[append-next-kill] before \\[kill-line]. --- 2842,2853 ---- a number counts as a prefix arg. To kill a whole line, when point is not at the beginning, type \ ! \\[move-beginning-of-line] \\[kill-line] \\[kill-line]. If `kill-whole-line' is non-nil, then this command kills the whole line including its terminating newline, when used at the beginning of a line with no argument. As a consequence, you can always kill a whole line ! by typing \\[move-beginning-of-line] \\[kill-line]. If you want to append the killed line to the last killed text, use \\[append-next-kill] before \\[kill-line].