all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to check whether the current line is a comment-only one?
@ 2016-08-18  6:16 Marcin Borkowski
  2016-08-18  7:44 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Marcin Borkowski @ 2016-08-18  6:16 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-18 14:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-18  6:16 How to check whether the current line is a comment-only one? Marcin Borkowski
2016-08-18  7:44 ` Stefan Monnier
2016-08-18 14:11   ` Marcin Borkowski
2016-08-18 11:39 ` Kaushal Modi
2016-08-18 14:09   ` Marcin Borkowski
2016-08-18 14:43 ` Thien-Thi Nguyen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.