Function: idlwave-help-fontify

idlwave-help-fontify is an interactive and byte-compiled function defined in idlw-help.el.gz.

Signature

(idlwave-help-fontify)

Documentation

Fontify the Help buffer as source code.

Useful when source code is displayed as help. See the option idlwave-help-fontify-source-code.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlw-help.el.gz
(defun idlwave-help-fontify ()
  "Fontify the Help buffer as source code.
Useful when source code is displayed as help.  See the option
`idlwave-help-fontify-source-code'."
  (interactive)
  (let ((major-mode 'idlwave-mode)
        (font-lock-verbose
         (if (called-interactively-p 'interactive) font-lock-verbose nil)))
    (with-syntax-table idlwave-mode-syntax-table
      (set (make-local-variable 'font-lock-defaults)
           idlwave-font-lock-defaults)
      (if (fboundp 'font-lock-ensure) ; Emacs >= 25.1
          (font-lock-ensure)
        ;; Silence "interactive use only" warning on Emacs >= 25.1.
        (with-no-warnings (font-lock-fontify-buffer))))))