From 1a90cb599f72818072a04c71958e7698878c9b4b Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 24 Oct 2023 08:58:35 +0200 Subject: [PATCH] Remove the func-region function --- configuration.org | 10 ---------- 1 file changed, 10 deletions(-) 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