Function: vhdl-template-return

vhdl-template-return is an interactive and byte-compiled function defined in vhdl-mode.el.gz.

Signature

(vhdl-template-return)

Documentation

Insert a return statement.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-template-return ()
  "Insert a return statement."
  (interactive)
  (let ((start (point)))
    (vhdl-insert-keyword "RETURN ")
    (unless (vhdl-template-field "[expression]" nil t start (point))
      (delete-char -1))
    (insert ";")))