Data blank lines needs to be interactive

This commit is contained in:
Howard Abrams 2022-10-21 22:09:21 -07:00
parent 68bd5c64bf
commit 5da7b75307

View file

@ -75,6 +75,7 @@ Getting rid of blank lines seems somewhat useful:
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun flush-blank-lines () (defun flush-blank-lines ()
"Delete all empty lines in the buffer. See `flush-lines'." "Delete all empty lines in the buffer. See `flush-lines'."
(interactive)
(save-excursion (save-excursion
(goto-char (point-min)) (goto-char (point-min))
(flush-lines (rx line-start (zero-or-more space) line-end)))) (flush-lines (rx line-start (zero-or-more space) line-end))))