diff --git a/configuration.org b/configuration.org index 2995a59..ba2cbbd 100644 --- a/configuration.org +++ b/configuration.org @@ -268,17 +268,6 @@ it as early as possible. ** Utility functions -*** Get the number at point - -#+BEGIN_SRC emacs-lisp -(defun get-number-at-point () - (interactive) - (skip-chars-backward "0123456789.-") - (or (looking-at "[0123456789.-]+") - (error "No number at point")) - (string-to-number (match-string 0))) -#+END_SRC - *** Round number at point to the given decimals #+BEGIN_SRC emacs-lisp @@ -290,7 +279,7 @@ it as early as possible. (fround (* mult - (get-number-at-point))) + (number-at-point))) mult))))) #+END_SRC