# HG changeset patch # User Richard M. Stallman # Date 896029936 0 # Node ID daca88de8a784618ce4000f5f71409eaf5b9ca6e # Parent 84c3c863f0bd3b0494c746cad61c56338085cf8f (dired-at-point): Eliminate var dired-function; use `dired'. (ffap-bindings): Include a binding for C-x d. diff -r 84c3c863f0bd -r daca88de8a78 lisp/ffap.el --- a/lisp/ffap.el Sun May 24 17:04:55 1998 +0000 +++ b/lisp/ffap.el Sun May 24 17:12:16 1998 +0000 @@ -1640,7 +1640,7 @@ (not current-prefix-arg) current-prefix-arg)) (let (current-prefix-arg) ; already interpreted - (call-interactively dired-function)) + (call-interactively 'dired)) (or filename (setq filename (dired-at-point-prompter))) (cond ((ffap-url-p filename) @@ -1678,6 +1678,7 @@ (global-set-key "\C-x\C-f" 'find-file-at-point) (global-set-key "\C-x4f" 'ffap-other-window) (global-set-key "\C-x5f" 'ffap-other-frame) + (define-key ctl-x-map "\C-xd" 'dired-at-point) (add-hook 'gnus-summary-mode-hook 'ffap-gnus-hook) (add-hook 'gnus-article-mode-hook 'ffap-gnus-hook) (add-hook 'vm-mode-hook 'ffap-ro-mode-hook)