Function: dcl-delete-indentation

dcl-delete-indentation is an interactive and byte-compiled function defined in dcl-mode.el.gz.

Signature

(dcl-delete-indentation &optional ARG)

Documentation

Join this line to previous like delete-indentation.

Also remove the continuation mark if easily detected.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/dcl-mode.el.gz
;;;-------------------------------------------------------------------------
(defun dcl-delete-indentation (&optional arg)
  "Join this line to previous like `delete-indentation'.
Also remove the continuation mark if easily detected."
  (interactive "*P")
  (delete-indentation arg)
  (let ((type (dcl-get-line-type)))
    (if (and (member type '($ - empty-$))
	     (not (bobp))
	     (= (char-before) ?-))
	(progn
	  (delete-char -1)
	  (fixup-whitespace)))))