changeset 26725:7e3e0c11f5b6

Autoload the ffap alias directly.
author Dave Love <fx@gnu.org>
date Mon, 06 Dec 1999 16:26:36 +0000
parents 8dbcefccbde4
children c7faf448e65b
files lisp/ffap.el
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ffap.el	Mon Dec 06 13:37:29 1999 +0000
+++ b/lisp/ffap.el	Mon Dec 06 16:26:36 1999 +0000
@@ -1351,12 +1351,7 @@
 				filename))))))
 
 ;; Shortcut: allow {M-x ffap} rather than {M-x find-file-at-point}.
-;; The defun is for autoload.el; the defalias takes over at load time.
-;;;###autoload
-(defun ffap (&optional filename)
-  "A short alias for the find-file-at-point command.")
-(defalias 'ffap 'find-file-at-point)
-
+;;;###autoload(defalias 'ffap 'find-file-at-point)
 
 ;;; Menu support (`ffap-menu'):