Function: vhdl-replace-string

vhdl-replace-string is a byte-compiled function defined in vhdl-mode.el.gz.

Signature

(vhdl-replace-string REGEXP-CONS STRING &optional ADJUST-CASE)

Documentation

Replace STRING from car of REGEXP-CONS to cdr of REGEXP-CONS.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-replace-string (regexp-cons string &optional adjust-case)
  "Replace STRING from car of REGEXP-CONS to cdr of REGEXP-CONS."
  (vhdl-prepare-search-1
   (if (string-match (car regexp-cons) string)
       (if adjust-case
	   (funcall vhdl-file-name-case
		    (replace-match (cdr regexp-cons) t nil string))
	 (replace-match (cdr regexp-cons) t nil string))
     string)))