[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-escape 0e1996ec55 060/133: Fix Symbol's value as vari
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-escape 0e1996ec55 060/133: Fix Symbol's value as variable is void: hl-line-mode |
Date: |
Wed, 3 Jan 2024 21:59:52 -0500 (EST) |
branch: elpa/evil-escape
commit 0e1996ec55243fbe9e09a0d9814586377d89beaa
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>
Fix Symbol's value as variable is void: hl-line-mode
Fixes #26
---
evil-escape.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/evil-escape.el b/evil-escape.el
index 478004bae1..30d9d80153 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -5,7 +5,7 @@
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; Keywords: convenience editing evil
;; Created: 22 Oct 2014
-;; Version: 2.26
+;; Version: 2.27
;; Package-Requires: ((emacs "24") (evil "1.0.9"))
;; URL: https://github.com/syl20bnr/evil-escape
@@ -416,10 +416,13 @@ DELETE-FUNC when calling CALLBACK. "
(fkey (elt keys 0))
(fkeystr (char-to-string fkey))
(skey (elt keys 1))
- (hl-line-mode-before hl-line-mode))
+ (hl-line-mode-before (when (boundp 'hl-line-mode) hl-line-mode)))
(if insert-func (funcall insert-func fkey))
- ;; temporarily force line-mode locally to prevent flicker from read-event
- (when (or global-hl-line-mode hl-line-mode) (hl-line-mode 1))
+ ;; global-hl-line-mode seems to be deactivated when `read-event' so we
+ ;; temporarily force line-mode locally to prevent flicker
+ (when (or (bound-and-true-p global-hl-line-mode)
+ (bound-and-true-p hl-line-mode))
+ (hl-line-mode))
(let* ((evt (read-event nil nil evil-escape-delay)))
(unless hl-line-mode-before (hl-line-mode -1))
(cond
- [nongnu] elpa/evil-escape f85416cc7c 015/133: Escape apropos buffers, (continued)
- [nongnu] elpa/evil-escape f85416cc7c 015/133: Escape apropos buffers, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 177eccdd92 022/133: Fix byte-compilation error: void function evil-escape--first-key, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 773e7144e2 003/133: Version 1.0, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 95cd06f3c5 029/133: Fix regression with term buffers, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 09b6486054 038/133: Add limitation in macro in README, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape f8657037f4 042/133: Add new custom variable `evil-escape-excluded-major-modes`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 1d7052cebc 039/133: Bump to version 2.11, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7067e1b84d 034/133: Fix escape sequence for evil-lisp-state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape c410d7e977 044/133: Fixes #18 Leaves first key in multi-term, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape f59790846c 062/133: Add evil-escape-inhibit variable, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0e1996ec55 060/133: Fix Symbol's value as variable is void: hl-line-mode,
ELPA Syncer <=
- [nongnu] elpa/evil-escape 6634eff564 032/133: Fix `fd` not working in some case when in `emacs state`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 526de681d3 047/133: Fix multiple `isearch-abort`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 64c65a4e96 053/133: Remove company support, bump version to 2.21, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0326241bcd 048/133: Bump to version 2.18, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 1271af99ac 064/133: Rewrite of evil-escape (v3.0), ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape e297938f32 050/133: Remove message when the mode is enabled, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7fd1902fac 033/133: Fix regression in visual block, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0e95e20437 040/133: Prevent infinite recursion if evil-escape.el is evaluated twice, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7600904462 045/133: Fix double insert of first key in some cases, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 32a6c6c31e 102/133: Add support for compilation buffers, ELPA Syncer, 2024/01/03