diff --git a/configuration.org b/configuration.org index 83323da..9d24c38 100644 --- a/configuration.org +++ b/configuration.org @@ -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