Remove the func-region function
This commit is contained in:
parent
9873a7d3ed
commit
1a90cb599f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user