Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b8e2ae05
Commit
b8e2ae05
authored
May 24, 1998
by
Richard M. Stallman
Browse files
(dired-at-point): Eliminate var dired-function; use `dired'.
(ffap-bindings): Include a binding for C-x d.
parent
3d1b9783
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/ffap.el
lisp/ffap.el
+2
-1
No files found.
lisp/ffap.el
View file @
b8e2ae05
...
@@ -1640,7 +1640,7 @@ ffap most of the time."
...
@@ -1640,7 +1640,7 @@ ffap most of the time."
(
not
current-prefix-arg
)
(
not
current-prefix-arg
)
current-prefix-arg
))
current-prefix-arg
))
(
let
(
current-prefix-arg
)
; already interpreted
(
let
(
current-prefix-arg
)
; already interpreted
(
call-interactively
dired
-function
))
(
call-interactively
'
dired
))
(
or
filename
(
setq
filename
(
dired-at-point-prompter
)))
(
or
filename
(
setq
filename
(
dired-at-point-prompter
)))
(
cond
(
cond
((
ffap-url-p
filename
)
((
ffap-url-p
filename
)
...
@@ -1678,6 +1678,7 @@ ffap most of the time."
...
@@ -1678,6 +1678,7 @@ ffap most of the time."
(
global-set-key
"\C-x\C-f"
'find-file-at-point
)
(
global-set-key
"\C-x\C-f"
'find-file-at-point
)
(
global-set-key
"\C-x4f"
'ffap-other-window
)
(
global-set-key
"\C-x4f"
'ffap-other-window
)
(
global-set-key
"\C-x5f"
'ffap-other-frame
)
(
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-summary-mode-hook
'ffap-gnus-hook
)
(
add-hook
'gnus-article-mode-hook
'ffap-gnus-hook
)
(
add-hook
'gnus-article-mode-hook
'ffap-gnus-hook
)
(
add-hook
'vm-mode-hook
'ffap-ro-mode-hook
)
(
add-hook
'vm-mode-hook
'ffap-ro-mode-hook
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment