-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Xor is added to subr.el in Emacs 27
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
;; Author: Andrii Kolomoiets <[email protected]> | ||
;; Keywords: tools | ||
;; URL: https://github.com/muffinmad/emacs-ibuffer-project | ||
;; Package-Version: 1.2 | ||
;; Package-Version: 1.2.1 | ||
;; Package-Requires: ((emacs "25.1")) | ||
|
||
;; This file is NOT part of GNU Emacs. | ||
|
@@ -103,7 +103,7 @@ | |
(nameb (buffer-name bufb)) | ||
(asteriska (string-match-p "^*" namea)) | ||
(asteriskb (string-match-p "^*" nameb))) | ||
(if (xor asteriska asteriskb) | ||
(if (if asteriska (not asteriskb) asteriskb) | ||
(null asteriska) | ||
(string-lessp namea nameb)))))) | ||
(string-lessp projecta projectb)))) | ||
|