Function: vhdl-electric-open-bracket
vhdl-electric-open-bracket is an interactive and byte-compiled
function defined in vhdl-mode.el.gz.
Signature
(vhdl-electric-open-bracket COUNT)
Documentation
[ --> (, ([ --> [
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-electric-open-bracket (count) "`[' --> `(', `([' --> `['"
(interactive "p")
(if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal)))
(if (= (preceding-char) ?\()
(progn (delete-char -1) (insert-char ?\[ 1))
(insert-char ?\( 1))
(self-insert-command count)))