[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/easy-escape eacfc5d 12/27: Don't enable by default
From: |
ELPA Syncer |
Subject: |
[elpa] externals/easy-escape eacfc5d 12/27: Don't enable by default |
Date: |
Tue, 14 Sep 2021 17:57:31 -0400 (EDT) |
branch: externals/easy-escape
commit eacfc5de3448d19e0ba283fd778353048bccb1f4
Author: Clément Pit--Claudel <clement.pitclaudel@live.com>
Commit: Clément Pit--Claudel <clement.pitclaudel@live.com>
Don't enable by default
---
README.md | 11 +++++++++--
easy-escape.el | 3 ---
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index e1623b8..f09e8ca 100644
--- a/README.md
+++ b/README.md
@@ -34,19 +34,26 @@ This will be valid if the package gets accepted on MELPA:
2. Install the package: `M-x package-install RET easy-mode RET`
+3. Enable `easy-escape-minor-mode` in lisp buffers:
+
+ ```elisp
+ ;; Replace 'lisp-mode-hook with 'prog-mode-hook to enable everywhere
+ (add-hook 'lisp-mode-hook 'easy-escape-minor-mode)
+ ```
+
### Alternative setup
1. Download [this
file](https://raw.githubusercontent.com/cpitclaudel/easy-escape/master/easy-escape.el)
+
2. Add this to your .emacs:
```elisp
(load-file "PATH-TO-THE-FILE-YOU-JUST-DOWNLOADED")
+ (add-hook 'lisp-mode-hook 'easy-escape-minor-mode)
```
## Fine-tuning
-* `easy-escape-minor-mode` is only enabled for lisp derivatives by default. To
enable in other modes, use `(add-hook 'YOUR-MODE-HOOK 'easy-escape-minor-mode)`.
-
* If you find the distinction between the fontified double-slash and the
single slash too subtle, try the following:
diff --git a/easy-escape.el b/easy-escape.el
index 297e613..f7f97ae 100644
--- a/easy-escape.el
+++ b/easy-escape.el
@@ -112,8 +112,5 @@ and the single slash too subtle, try the following:
(font-lock-remove-keywords nil easy-escape--keywords))
(font-lock-flush))
-;;;###autoload
-(add-hook 'lisp-mode-hook 'easy-escape-minor-mode)
-
(provide 'easy-escape)
;;; easy-escape.el ends here
- [elpa] externals/easy-escape bcdc7f9 13/27: Remove the lexical-binding declaration, (continued)
- [elpa] externals/easy-escape bcdc7f9 13/27: Remove the lexical-binding declaration, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape a379bdc 05/27: Revert changes when mode is disabled, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape cb88404 10/27: Remove example from README, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape fb73cb5 11/27: Update README and add package header, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 2510683 16/27: Add emacs-lisp hook to README, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape c87d76e 17/27: Suppress spurious warning, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape a6449f2 20/27: Clean up screenshot code, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 213d339 14/27: Don't use font-lock-flush in Emacs < 25, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 8623aa9 18/27: Hide backslashes before '(', ')', and '|', ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 02f4bfc 03/27: Fix mode lighter, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape eacfc5d 12/27: Don't enable by default,
ELPA Syncer <=
- [elpa] externals/easy-escape fb3e713 15/27: Fix typo in README, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 63fa5fc 19/27: Update screenshot, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 6f38e00 21/27: Fix a typo in a docstring, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape dd76c6d 24/27: Change copyright to FSF, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 14046d3 26/27: Fix docstring and defcustom warnings, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 24507b2 22/27: Rename easy-escape--mark-in-string to easy-escape--find-in-string, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 3ec5c14 23/27: Switch to lexical binding, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape a94d329 25/27: Rewrap doc comment, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape e09cc69 27/27: Rename --mark-{escapes, delims} into --find-{escape-delim}, ELPA Syncer, 2021/09/14