# HG changeset patch # User Eli Zaretskii # Date 977926080 0 # Node ID e701bc3564db9c9e9e99ffa073baf60a33a9b0fe # Parent 4f47fc6996083b67e98b2768085e03809b6d8c89 (ffap-bindings): Make interactive and add an autoload cookie. (ffap-bindings): Doc fix, to reflect the above change. diff -r 4f47fc699608 -r e701bc3564db lisp/ffap.el --- a/lisp/ffap.el Wed Dec 27 12:43:22 2000 +0000 +++ b/lisp/ffap.el Wed Dec 27 14:08:00 2000 +0000 @@ -35,9 +35,8 @@ ;; README's, MANIFEST's, and so on. Submit bugs or suggestions with ;; M-x ffap-bug. ;; -;; For the default installation, add these two lines to your .emacs file: +;; For the default installation, add this line to your .emacs file: ;; -;; (require 'ffap) ; load the package ;; (ffap-bindings) ; do default key bindings ;; ;; ffap-bindings makes the following global key bindings: @@ -1690,13 +1689,14 @@ ;; (setq dired-x-hands-off-my-keys t) ; the default ) "List of binding forms evaluated by function `ffap-bindings'. -A reasonable ffap installation needs just these two lines: - (require 'ffap) +A reasonable ffap installation needs just these one line: (ffap-bindings) Of course if you do not like these bindings, just roll your own!") +;;;###autoload (defun ffap-bindings nil "Evaluate the forms in variable `ffap-bindings'." + (interactive) (eval (cons 'progn ffap-bindings)))