summaryrefslogtreecommitdiff
path: root/plugins/emacs
diff options
context:
space:
mode:
authorshuangcui <fliter@qq.com>2024-03-15 00:07:39 +0800
committerGitHub <noreply@github.com>2024-03-14 23:07:39 +0700
commitc8ba08581dff43c18c1b0d9e7312ca32e6d97124 (patch)
treed51b8ca229e0bb1c67a0dcb9e8638e0e4b82adc9 /plugins/emacs
parent6780b19329501b66bc87274928f0a65cc7e5f473 (diff)
downloadzsh-c8ba08581dff43c18c1b0d9e7312ca32e6d97124.tar.gz
zsh-c8ba08581dff43c18c1b0d9e7312ca32e6d97124.tar.bz2
zsh-c8ba08581dff43c18c1b0d9e7312ca32e6d97124.zip
docs: fix typos (#12284)
Diffstat (limited to 'plugins/emacs')
-rw-r--r--plugins/emacs/README.md2
-rw-r--r--plugins/emacs/emacs.plugin.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/emacs/README.md b/plugins/emacs/README.md
index 8ed4a1473..47c7644ab 100644
--- a/plugins/emacs/README.md
+++ b/plugins/emacs/README.md
@@ -27,4 +27,4 @@ The plugin uses a custom launcher (which we'll call here `$EMACS_LAUNCHER`) that
| eeval | `$EMACS_LAUNCHER --eval` | Same as `M-x eval` but from outside Emacs |
| eframe | `emacsclient --alternate-editor="" --create-frame` | Create new X frame |
| efile | - | Print the path to the file open in the current buffer |
-| ecd | - | Print the directory of the file open in the the current buffer |
+| ecd | - | Print the directory of the file open in the current buffer |
diff --git a/plugins/emacs/emacs.plugin.zsh b/plugins/emacs/emacs.plugin.zsh
index 4747f035b..5aa621803 100644
--- a/plugins/emacs/emacs.plugin.zsh
+++ b/plugins/emacs/emacs.plugin.zsh
@@ -60,7 +60,7 @@ function efile {
}
# Write to standard output the directory of the file
-# opened in the the current buffer
+# opened in the current buffer
function ecd {
local file
file="$(efile)" || return $?