aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-12-06 16:26:36 +0000
committerDave Love1999-12-06 16:26:36 +0000
commit32fd7972629ec6752b4ac0f465915cc60d85e8ae (patch)
tree77a6584d5ad6db2c910456391c98818938e105d0
parentcded5ed3bf83a6982f15ccb93e1af31b75151a0e (diff)
downloademacs-32fd7972629ec6752b4ac0f465915cc60d85e8ae.tar.gz
emacs-32fd7972629ec6752b4ac0f465915cc60d85e8ae.zip
Autoload the ffap alias directly.
-rw-r--r--lisp/ffap.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 785cd2376e0..0bec1d7a1ff 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1351,12 +1351,7 @@ See <ftp://ftp.mathcs.emory.edu/pub/mic/emacs/> for latest version."
1351 filename)))))) 1351 filename))))))
1352 1352
1353;; Shortcut: allow {M-x ffap} rather than {M-x find-file-at-point}. 1353;; Shortcut: allow {M-x ffap} rather than {M-x find-file-at-point}.
1354;; The defun is for autoload.el; the defalias takes over at load time. 1354;;;###autoload(defalias 'ffap 'find-file-at-point)
1355;;;###autoload
1356(defun ffap (&optional filename)
1357 "A short alias for the find-file-at-point command.")
1358(defalias 'ffap 'find-file-at-point)
1359
1360 1355
1361;;; Menu support (`ffap-menu'): 1356;;; Menu support (`ffap-menu'):
1362 1357