Autoload the ffap alias directly.

This commit is contained in:
Dave Love 1999-12-06 16:26:36 +00:00
parent cded5ed3bf
commit 32fd797262

View 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)
;;; Menu support (`ffap-menu'):