Skip to content

Commit

Permalink
Don't use xor (fixes #1)
Browse files Browse the repository at this point in the history
Xor is added to subr.el in Emacs 27
  • Loading branch information
muffinmad committed Nov 22, 2019
1 parent 86f23c6 commit a83e749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibuffer-project.el
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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))))
Expand Down

0 comments on commit a83e749

Please sign in to comment.