]> git.eshelyaron.com Git - emacs.git/commitdiff
(ffap-highlight): Use facep rather than internal-find-face.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 May 2000 19:57:48 +0000 (19:57 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 May 2000 19:57:48 +0000 (19:57 +0000)
lisp/ffap.el

index 720142b2181e55f8afa9c1db167399695279f13e..bc934ed351bd586a0fae777bf7d96119093ecbca 100644 (file)
@@ -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 <mic@mathcs.emory.edu>
 ;; Created: 29 Mar 1993
@@ -1284,8 +1284,7 @@ Uses the face `ffap' if it is defined, or else `highlight'."
     (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)))))
 
 \f
 ;;; Main Entrance (`find-file-at-point' == `ffap'):