Function: vhdl-prepare-search-1

vhdl-prepare-search-1 is a macro defined in vhdl-mode.el.gz.

Signature

(vhdl-prepare-search-1 &rest BODY)

Documentation

Enable case insensitive search and switch to syntax table that includes _, then execute BODY, and finally restore the old environment. Used for consistent searching.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defmacro vhdl-prepare-search-1 (&rest body)
  "Enable case insensitive search and switch to syntax table that includes `_',
then execute BODY, and finally restore the old environment.  Used for
consistent searching."
  (declare (debug t))
  `(let ((case-fold-search t))		; case insensitive search
     ;; use extended syntax table
     (with-syntax-table vhdl-mode-ext-syntax-table
       ,@body)))