Autoload the ffap alias directly.
This commit is contained in:
parent
cded5ed3bf
commit
32fd797262
1 changed files with 1 additions and 6 deletions
|
@ -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'):
|
||||
|
||||
|
|
Loading…
Reference in a new issue