From 25050dab1dc4c24296a9c3391615b1235a4ab005 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 27 Dec 2000 14:08:34 +0000 Subject: [PATCH] (ffap-bindings): Make interactive and add an autoload cookie. (ffap-bindings): Doc fix, to reflect the above change. --- lisp/ChangeLog | 6 ++++++ lisp/ffap.el | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a0d4c823285..3b0ae238d3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2000-12-27 Eli Zaretskii + + * ffap.el (ffap-bindings): Make interactive and add an autoload + cookie. + (ffap-bindings): Doc fix, to reflect the above change. + 2000-12-27 Kenichi Handa * term.el (term-char-mode): Define all non-ascii self-inserting 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))) -- 2.39.2