[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix feda7b8 11/13: Fix use region detection
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix feda7b8 11/13: Fix use region detection |
Date: |
Mon, 4 Jan 2021 01:12:53 -0500 (EST) |
branch: externals/kiwix
commit feda7b82a0d4c59abc62aaa7da86e7705604cf1e
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: stardiviner <numbchild@gmail.com>
Fix use region detection
---
kiwix.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kiwix.el b/kiwix.el
index 1dc8fa1..f73dfd3 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -282,7 +282,7 @@ list and return a list result."
(defun kiwix--get-thing-at-point ()
"Get region select text or symbol at point."
- (if mark-active
+ (if (use-region-p)
(buffer-substring
(region-beginning) (region-end))
(thing-at-point 'symbol)))
- [elpa] externals/kiwix 6bf78fb 02/13: improve kiwix-server-command custom option, (continued)
- [elpa] externals/kiwix 6bf78fb 02/13: improve kiwix-server-command custom option, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix aa97754 01/13: use-package :commands is not needed, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 8100281 04/13: highlight ivy and helm symbols in docstring, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 2e242cb 03/13: follow GNU convention rename "path" to "dir", Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix feb09b6 06/13: Fix directory files matching regexp, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 5356b31 09/13: Fix docker pull command's if logic, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 4f987d4 13/13: Disable GitHub Actions MELPA strict checker, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix a68a7f5 05/13: Fix commentary indent level, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 3b73980 12/13: Add Emacs built-in completing-read support, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 4110223 08/13: Explain function kiwix-server-url-update docstring, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix feda7b8 11/13: Fix use region detection,
Stefan Monnier <=
- [elpa] externals/kiwix 05fdb07 07/13: Replace async-shell-command with start-process in kiwix-launch-server, Stefan Monnier, 2021/01/04
- [elpa] externals/kiwix 26a796c 10/13: Use and or logic maybe faster?, Stefan Monnier, 2021/01/04