Function: makefile-electric-equal

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

Signature

(makefile-electric-equal ARG)

Documentation

Prompt for name of a macro to insert.

Only does prompting if point is 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-equal (arg)
  "Prompt for name of a macro to insert.
Only does prompting if point is at beginning of line.
Anywhere else just self-inserts."
  (interactive "p")
  (makefile-pickup-macros)
  (if (bolp)
      (call-interactively 'makefile-insert-macro)
    (self-insert-command arg)))