Function: electric-pascal-hash
electric-pascal-hash is an interactive and byte-compiled function
defined in pascal.el.gz.
Signature
(electric-pascal-hash)
Documentation
Insert #, and indent to column 0 if this is a CPP directive.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/pascal.el.gz
(defun electric-pascal-hash ()
"Insert `#', and indent to column 0 if this is a CPP directive."
(interactive)
(insert last-command-event)
(if (save-excursion (beginning-of-line) (looking-at "^[ \t]*#"))
(save-excursion (beginning-of-line)
(delete-horizontal-space))))