Function: vhdl-fontify-buffer

vhdl-fontify-buffer is an interactive and byte-compiled function defined in vhdl-mode.el.gz.

Signature

(vhdl-fontify-buffer)

Documentation

Re-initialize fontification and fontify buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-fontify-buffer ()
  "Re-initialize fontification and fontify buffer."
  (interactive)
  (setq font-lock-defaults
	`(vhdl-font-lock-keywords
          nil ,(not vhdl-highlight-case-sensitive) ((?\_ . "w"))
          beginning-of-line))
  (when (fboundp 'font-lock-unset-defaults)
    (font-lock-unset-defaults))		; not implemented in XEmacs
  (font-lock-set-defaults)
  (font-lock-mode nil)
  (font-lock-mode t))