Function: ffap-highlight
ffap-highlight is a byte-compiled function defined in ffap.el.gz.
Signature
(ffap-highlight &optional REMOVE)
Documentation
If ffap-highlight(var)/ffap-highlight(fun) is set, highlight the guess in this buffer.
That is, the last buffer substring found by ffap-string-at-point(var)/ffap-string-at-point(fun).
Optional argument REMOVE means to remove any such highlighting.
Uses the face ffap if it is defined, or else highlight.
Source Code
;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defun ffap-highlight (&optional remove)
"If `ffap-highlight' is set, highlight the guess in this buffer.
That is, the last buffer substring found by `ffap-string-at-point'.
Optional argument REMOVE means to remove any such highlighting.
Uses the face `ffap' if it is defined, or else `highlight'."
(cond
(remove
(and ffap-highlight-overlay
(delete-overlay ffap-highlight-overlay))
)
((not ffap-highlight) nil)
(ffap-highlight-overlay
(move-overlay
ffap-highlight-overlay
(car ffap-string-at-point-region)
(nth 1 ffap-string-at-point-region)
(current-buffer)))
(t
(setq ffap-highlight-overlay
(apply 'make-overlay ffap-string-at-point-region))
(overlay-put ffap-highlight-overlay 'face 'ffap))))