This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun get-previous-indentation () | |
"Get the column of the previous indented line" | |
(interactive) | |
(save-excursion | |
(progn | |
(move-beginning-of-line nil) | |
(skip-chars-backward "\n \t") | |
(back-to-indentation)) | |
(current-column))) |