Function: delete-horizontal-space

delete-horizontal-space is an interactive and byte-compiled function defined in simple.el.gz.

Signature

(delete-horizontal-space &optional BACKWARD-ONLY)

Documentation

Delete all spaces and tabs around point.

If BACKWARD-ONLY is non-nil (interactively, the prefix argument), delete them only before point.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun delete-horizontal-space (&optional backward-only)
  "Delete all spaces and tabs around point.
If BACKWARD-ONLY is non-nil (interactively, the prefix argument), delete
them only before point."
  (interactive "*P")
  (delete-space--internal " \t" backward-only))