From 25050dab1dc4c24296a9c3391615b1235a4ab005 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 27 Dec 2000 14:08:34 +0000 Subject: (ffap-bindings): Make interactive and add an autoload cookie. (ffap-bindings): Doc fix, to reflect the above change. --- lisp/ffap.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lisp/ffap.el') diff --git a/lisp/ffap.el b/lisp/ffap.el index 22fef574a6e..53eb07392dd 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -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 @@ ffap most of the time." ;; (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))) -- cgit v1.2.3