diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2023-04-12 12:53:15 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-04-12 12:53:15 +0200 |
| commit | df74385b455cd7687232ad189acfea16cb44dd04 (patch) | |
| tree | 92aaea1ecfcb8718b991ec5e45ea451d3a598170 | |
| parent | 59867aebe16454be4d8c0c858f3b00b8a34f3f61 (diff) | |
readme: Untabify
| -rw-r--r-- | README.org | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -16,10 +16,10 @@ commands prompt for an alternative environment variable such as file: #+begin_src emacs-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_src Alternatively use the global ~shell-command-with-editor-mode~, @@ -45,7 +45,7 @@ equivalent: #+begin_src emacs-lisp (add-hook 'shell-mode-hook - (apply-partially 'with-editor-export-editor "GIT_EDITOR")) + (apply-partially 'with-editor-export-editor "GIT_EDITOR")) (add-hook 'shell-mode-hook 'with-editor-export-git-editor) #+end_src |
