|
From: | Stefan Monnier |
Subject: | Re: How to get the current column regardless of the content of the current line? |
Date: | Thu, 15 Dec 2022 16:56:58 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
> (defun my/current-column () > (- (point) (save-excursion (beginning-of-line) (point)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (line-beginning-position) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |