Remove the func-region function

This commit is contained in:
Gergely Polonkai 2023-10-24 08:58:35 +02:00
parent 9873a7d3ed
commit 1a90cb599f
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -280,16 +280,6 @@ Taken from [[http://ergoemacs.org/emacs/emacs_set_backup_into_a_directory.html][
backup-file-path))
#+END_SRC
*** Run a function on a region
#+BEGIN_SRC emacs-lisp
(defun func-region (start end func)
"Run a function over the region between START and END in current buffer."
(save-excursion
(let ((text (delete-and-extract-region start end)))
(insert (funcall func text)))))
#+END_SRC
*** Find the first number on line
#+begin_src emacs-lisp