diff options
Diffstat (limited to 'docs/with-editor.texi')
| -rw-r--r-- | docs/with-editor.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/with-editor.texi b/docs/with-editor.texi index 447c397..831b2aa 100644 --- a/docs/with-editor.texi +++ b/docs/with-editor.texi @@ -221,10 +221,10 @@ instance is exported as @code{$EDITOR}. To always use these variants add this to you init file: @lisp -(define-key (current-global-map) - [remap async-shell-command] 'with-editor-async-shell-command) -(define-key (current-global-map) - [remap shell-command] 'with-editor-shell-command) +(keymap-global-set "<remap> <async-shell-command>" + #'with-editor-async-shell-command) +(keymap-global-set "<remap> <shell-command>" + #'with-editor-shell-command) @end lisp Alternatively use the global @code{shell-command-with-editor-mode}. |
