help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

one key-press to comment out lines of code?


From: Sharon Kimble
Subject: one key-press to comment out lines of code?
Date: Wed, 30 Apr 2014 17:14:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Whilst I'm still learning emacs and gnus I'm constantly adding code to my
"setup-testbed.el" file, and then finding later that it doesn't do what its
expected to do, or I don't like the outcome, so I then comment it
out. Currently, I'm doing it laboriously by hand, but is it possible to
highlight it and then with one key-press insert ";" in front of each and every
line of the code please?

I haven't seen this ability anywhere, but being able to do it would make
things a whole lot easier for me, so, can it be done please folks?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.15

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]