Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] emacs r1295 - emacsguide
Date: Thu, 02 Jul 2009 11:48:11
Message-Id: E1MMKlt-0004Ug-M6@stork.gentoo.org
1 Author: fauli
2 Date: 2009-07-02 11:48:09 +0000 (Thu, 02 Jul 2009)
3 New Revision: 1295
4
5 Modified:
6 emacsguide/emacsguide.xml
7 Log:
8 There is a better way to remove comments
9
10
11 Modified: emacsguide/emacsguide.xml
12 ===================================================================
13 --- emacsguide/emacsguide.xml 2009-07-02 11:44:50 UTC (rev 1294)
14 +++ emacsguide/emacsguide.xml 2009-07-02 11:48:09 UTC (rev 1295)
15 @@ -374,13 +374,16 @@
16 <body>
17 <p>
18 One common thing for Gentoo users is to strip comments from
19 - configuration files. This is convenient in Emacs with flush-lines
20 + configuration files. This is conveniently done in Emacs
21 + with a simple command:
22 </p>
23 <pre caption="Code Sample">
24 -M-x flush-lines
25 -^#
26 -That will match lines beginning with a # which is a comment in most /etc configuration files.
27 +M-;
28 </pre>
29 + <p>
30 + This either toggles the current line between comment and
31 + non-comment or the marked region if there is any.
32 + </p>
33 </body>
34 </section>
35 </chapter>