aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2000-05-23 19:57:48 +0000
committerStefan Monnier2000-05-23 19:57:48 +0000
commite5eee690ffdc37ee963da26aa5c2d6cf2b0e85e4 (patch)
treedc04a36e9e39b70b859c76717bc12ea6ad2560f6
parent9695b7830bb868557c15bca83a8d0966ba0b6751 (diff)
downloademacs-e5eee690ffdc37ee963da26aa5c2d6cf2b0e85e4.tar.gz
emacs-e5eee690ffdc37ee963da26aa5c2d6cf2b0e85e4.zip
(ffap-highlight): Use facep rather than internal-find-face.
-rw-r--r--lisp/ffap.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 720142b2181..bc934ed351b 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1,6 +1,6 @@
1;;; ffap.el --- find file (or url) at point 1;;; ffap.el --- find file (or url) at point
2;; 2;;
3;; Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 96, 97, 2000 Free Software Foundation, Inc.
4;; 4;;
5;; Author: Michelangelo Grigni <mic@mathcs.emory.edu> 5;; Author: Michelangelo Grigni <mic@mathcs.emory.edu>
6;; Created: 29 Mar 1993 6;; Created: 29 Mar 1993
@@ -1284,8 +1284,7 @@ Uses the face `ffap' if it is defined, or else `highlight'."
1284 (setq ffap-highlight-overlay 1284 (setq ffap-highlight-overlay
1285 (apply 'make-overlay ffap-string-at-point-region)) 1285 (apply 'make-overlay ffap-string-at-point-region))
1286 (overlay-put ffap-highlight-overlay 'face 1286 (overlay-put ffap-highlight-overlay 'face
1287 (if (internal-find-face 'ffap) 1287 (if (facep 'ffap) 'ffap 'highlight)))))
1288 'ffap 'highlight)))))
1289 1288
1290 1289
1291;;; Main Entrance (`find-file-at-point' == `ffap'): 1290;;; Main Entrance (`find-file-at-point' == `ffap'):