]> git.eshelyaron.com Git - emacs.git/commit
Use remapping in ffap-bindings (Bug#35577)
authorNoam Postavsky <npostavs@gmail.com>
Sun, 5 May 2019 13:13:19 +0000 (09:13 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 12 May 2019 12:05:01 +0000 (08:05 -0400)
commitb1cc876b6c9d00cd9d9f4ed65176274bf35a81c4
treecd941eba4e4d791e18ce3a15d55718991b049f95
parent571d802df38cb1d3f93222f2977b766995616ac7
Use remapping in ffap-bindings (Bug#35577)

* lisp/ffap.el (ffap-bindings): Bind to the [remap COMMAND] instead of
hardcoding the default keybindings.  This better adapts better if
non-default are used.  And lets the original keybindings be
remembered, so that, e.g., \[find-file] in docstrings will still be
substituted with C-x C-f (even though that binding has been remapped
to find-file-at-point.
lisp/ffap.el