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

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

How to check whether the current line is a comment-only one?


From: Marcin Borkowski
Subject: How to check whether the current line is a comment-only one?
Date: Thu, 18 Aug 2016 08:16:22 +0200
User-agent: mu4e 0.9.16; emacs 25.1.50.6

Hi folks,

is there a predicate function to determine whether the line the point is
in is entirely a comment line?  I'd prefer this function to work in
various modes (for Elisp mode, it's trivial; for C, less so).

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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