Mercurial > emacs
changeset 34867:e701bc3564db
(ffap-bindings): Make interactive and add an autoload cookie.
(ffap-bindings): Doc fix, to reflect the above change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 27 Dec 2000 14:08:00 +0000 |
parents | 4f47fc699608 |
children | f3c217d2fc2e |
files | lisp/ffap.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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)))