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

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

Commenting empty lines


From: ludvig-faddeev
Subject: Commenting empty lines
Date: Mon, 17 May 2021 22:29:35 +0200

Have made a keybinding for commenting lines like this

(global-set-key (kbd "C-;") (kbd "C-x C-;"))

This means that hitting "C-;" multiple times will comment and uncomment the 
line.

But when there is an empty line I want to insert the comment symbol, because
using "C-;" does not introduce the comment mark.






reply via email to

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