Function: combobulate--delete-node
combobulate--delete-node is a natively compiled function defined in
combobulate-manipulation.el.
Signature
(combobulate--delete-node NODE &optional CORRECT-INDENTATION DELETE-BLANK-LINES)
Documentation
Deletes NODE in the current buffer and returns its text.
If CORRECT-INDENTATION is non-nil, then the node's first-line indentation is set according to its current indentation in the buffer.
If DELETE-BLANK-LINES is non-nil, then all blank lines left behind by the deleted node are removed.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-manipulation.el
(defun combobulate--delete-node (node &optional correct-indentation delete-blank-lines)
"Deletes NODE in the current buffer and returns its text.
If CORRECT-INDENTATION is non-nil, then the node's first-line
indentation is set according to its current indentation in the
buffer.
If DELETE-BLANK-LINES is non-nil, then all blank lines left behind by
the deleted node are removed."
(when node
(combobulate--delete-text (combobulate-node-start node)
(combobulate-node-end node)
correct-indentation
delete-blank-lines)))