# HG changeset patch # User Stefan Monnier # Date 959111868 0 # Node ID 9906c04b247bbf6882db976876680c246c068186 # Parent 194ae24692564bee44f73513c70c803d2801fe9c (ffap-highlight): Use facep rather than internal-find-face. diff -r 194ae2469256 -r 9906c04b247b lisp/ffap.el --- a/lisp/ffap.el Tue May 23 15:39:40 2000 +0000 +++ b/lisp/ffap.el Tue May 23 19:57:48 2000 +0000 @@ -1,6 +1,6 @@ ;;; ffap.el --- find file (or url) at point ;; -;; Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +;; Copyright (C) 1995, 96, 97, 2000 Free Software Foundation, Inc. ;; ;; Author: Michelangelo Grigni ;; Created: 29 Mar 1993 @@ -1284,8 +1284,7 @@ (setq ffap-highlight-overlay (apply 'make-overlay ffap-string-at-point-region)) (overlay-put ffap-highlight-overlay 'face - (if (internal-find-face 'ffap) - 'ffap 'highlight))))) + (if (facep 'ffap) 'ffap 'highlight))))) ;;; Main Entrance (`find-file-at-point' == `ffap'):