Function: kotl-mode:just-one-space

kotl-mode:just-one-space is an interactive and byte-compiled function defined in kotl-mode.el.

Signature

(kotl-mode:just-one-space)

Documentation

Delete all spaces and tabs around point and leave one space.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:just-one-space ()
  "Delete all spaces and tabs around point and leave one space."
  (interactive "*")
  (save-excursion
    (save-restriction
      (save-excursion
	(narrow-to-region (kotl-mode:beginning-of-line) (kotl-mode:to-end-of-line)))
      (just-one-space))))