Function: makefile-insert-special-target

makefile-insert-special-target is an interactive and byte-compiled function defined in make-mode.el.gz.

Signature

(makefile-insert-special-target)

Documentation

Prompt for and insert a special target name.

Uses makefile-special-targets list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/make-mode.el.gz
(defun makefile-insert-special-target ()
  "Prompt for and insert a special target name.
Uses `makefile-special-targets' list."
  (interactive)
  (makefile-pickup-targets)
  (let ((special-target
	 (completing-read "Special target: "
			  makefile-special-targets-list nil nil nil)))
    (if (zerop (length special-target))
	()
      (insert "." special-target ":")
      (makefile-forward-after-target-colon))))