]> code.delx.au - gnu-emacs/commitdiff
Autoload the ffap alias directly.
authorDave Love <fx@gnu.org>
Mon, 6 Dec 1999 16:26:36 +0000 (16:26 +0000)
committerDave Love <fx@gnu.org>
Mon, 6 Dec 1999 16:26:36 +0000 (16:26 +0000)
lisp/ffap.el

index 785cd2376e0bcb0fb4acfd1898adea0cc10f9c5c..0bec1d7a1ff4ce8918cecb929c6f03e9832042e1 100644 (file)
@@ -1351,12 +1351,7 @@ See <ftp://ftp.mathcs.emory.edu/pub/mic/emacs/> for latest version."
                                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)
 \f
 ;;; Menu support (`ffap-menu'):