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