Function: bib-toggle-highlight

bib-toggle-highlight is an interactive and byte-compiled function defined in bib-cite.el.

Signature

(bib-toggle-highlight)

Documentation

Toggle the enabling of bib-cite entries as clickable things.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/bib-cite.el
(defun bib-toggle-highlight ()
  "Toggle the enabling of bib-cite entries as clickable things."
;; FIXME: do something about after-change stuff?
  (interactive)
  (if (setq bib-highlight-mouse-t (not bib-highlight-mouse-t))
      (bib-highlight-mouse)
    (let ((modified (buffer-modified-p))
          (inhibit-read-only t))
      (let ((before-change-functions) (after-change-functions))
        (remove-text-properties (point-min) (point-max)
                                '(mouse-face local-map)))
      (set-buffer-modified-p modified))))