Function: makefile-electric-colon
makefile-electric-colon is an interactive and byte-compiled function
defined in make-mode.el.gz.
Signature
(makefile-electric-colon ARG)
Documentation
Prompt for name of new target.
Prompting only happens at beginning of line. Anywhere else just self-inserts.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/make-mode.el.gz
(defun makefile-electric-colon (arg)
"Prompt for name of new target.
Prompting only happens at beginning of line.
Anywhere else just self-inserts."
(interactive "p")
(if (bolp)
(call-interactively 'makefile-insert-target)
(self-insert-command arg)))