diff options
author | Eli Zaretskii <eliz@gnu.org> | 2000-12-27 14:08:34 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2000-12-27 14:08:34 +0000 |
commit | 25050dab1dc4c24296a9c3391615b1235a4ab005 (patch) | |
tree | bb95c694c6ffa78eca54b9405c7b2264249f16de /lisp/ffap.el | |
parent | 9b0e97aaa024e7fca64fa967a169885caa629708 (diff) | |
download | emacs-25050dab1dc4c24296a9c3391615b1235a4ab005.tar.gz |
(ffap-bindings): Make interactive and add an autoload cookie.
(ffap-bindings): Doc fix, to reflect the above change.
Diffstat (limited to 'lisp/ffap.el')
-rw-r--r-- | lisp/ffap.el | 8 |
1 files changed, 4 insertions, 4 deletions
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))) |