Function: makefile-electric-dot

makefile-electric-dot is an interactive and byte-compiled function defined in make-mode.el.gz.

Signature

(makefile-electric-dot ARG)

Documentation

Prompt for the name of a special target to insert.

Only does electric insertion at beginning of line. Anywhere else just self-inserts.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/make-mode.el.gz
;;; Electric keys.  Blech.

(defun makefile-electric-dot (arg)
  "Prompt for the name of a special target to insert.
Only does electric insertion at beginning of line.
Anywhere else just self-inserts."
  (interactive "p")
  (if (bolp)
      (makefile-insert-special-target)
    (self-insert-command arg)))