[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 264e92436c 10/26: Use xor
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 264e92436c 10/26: Use xor |
Date: |
Fri, 22 Apr 2022 18:58:14 -0400 (EDT) |
branch: elpa/git-commit
commit 264e92436cc6b809a30ae035a5b2821bdcd71176
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Use xor
---
lisp/magit-section.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index 74d242c437..c939bf853b 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -1603,9 +1603,7 @@ evaluated its BODY. Admittedly that's a bit of a hack."
(let ((section (magit-current-section)))
(when (or force
magit-section-highlight-force-update
- (cond ; `xor' wasn't added until 27.1.
- ((not magit-section-pre-command-region-p) (region-active-p))
- ((not (region-active-p)) magit-section-pre-command-region-p))
+ (xor magit-section-pre-command-region-p (region-active-p))
(not (eq magit-section-pre-command-section section)))
(let ((inhibit-read-only t)
(deactivate-mark nil)
- [nongnu] elpa/git-commit 485b265dd3 02/26: magit-generate-changelog: Minor error message tweak, (continued)
- [nongnu] elpa/git-commit 485b265dd3 02/26: magit-generate-changelog: Minor error message tweak, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 7671e46a8b 07/26: Use string-search instead of string-match-p, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 1553a4fa36 11/26: Use and-let* for side-effects, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 4bcb303154 12/26: Use and-let* for side-effects even more, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 9ce3859dd2 13/26: Use when-let* for multiple bindings, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 5f23a34a5f 19/26: Use compat-dired-marked-files, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 4d1d00e6fa 20/26: Fix finding remote executables, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 59fb9ce03f 06/26: Use string-replace instead of replace-regexp-in-string, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit bba16d4f3e 08/26: Use string-search instead of string-match, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit a20dc0b83e 09/26: Use string-trim, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 264e92436c 10/26: Use xor,
ELPA Syncer <=
- [nongnu] elpa/git-commit b4b2098c91 15/26: Use with-environment-variables, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit b280fd7625 17/26: Use compat-assoc-delete-all, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit b0ababbde4 18/26: Use compat-alist-get, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit d69f062a8a 23/26: Refresh library headers, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 77cc75ed90 16/26: Use image-property, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 40fb3d2002 26/26: make: Improve creation of autoloads file, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 8842230bca 14/26: Use length= and length>, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit e9df33bf28 21/26: Silence warnings on older Emacs releases, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit a37b2066dd 22/26: Use pcase's quote upattern, ELPA Syncer, 2022/04/22
- [nongnu] elpa/git-commit 5a43c5f557 24/26: magit-tests.el: Use lexical-binding, ELPA Syncer, 2022/04/22