[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/jinx 031ef9960a 1/3: README: Suggest C-M-$ as binding f
From: |
ELPA Syncer |
Subject: |
[elpa] externals/jinx 031ef9960a 1/3: README: Suggest C-M-$ as binding for jinx-languages |
Date: |
Wed, 3 May 2023 16:58:51 -0400 (EDT) |
branch: externals/jinx
commit 031ef9960a5671425e282623aa7f114f5b94ae9a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
README: Suggest C-M-$ as binding for jinx-languages
Thanks, @protesilaos!
---
README.org | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 15963bee90..f1cc05a42a 100644
--- a/README.org
+++ b/README.org
@@ -72,7 +72,8 @@ over that key from the default assignment to =ispell-word=.
Since Jinx is
independent of the Ispell package, =M-$= can be re-used.
#+begin_src emacs-lisp
-(keymap-global-set "<remap> <ispell-word>" #'jinx-correct)
+(keymap-global-set "M-$" #'jinx-correct)
+(keymap-global-set "C-M-$" #'jinx-languages)
#+end_src
- =M-$= triggers correction for the misspelled word before point.
@@ -83,7 +84,8 @@ A sample configuration with the popular =use-package= macro
is shown here:
#+begin_src emacs-lisp
(use-package jinx
:hook (emacs-startup . global-jinx-mode)
- :bind ([remap ispell-word] . jinx-correct))
+ :bind (("M-$" . jinx-correct)
+ ("C-M-$" . jinx-languages)))
#+end_src
* Correcting misspellings