From a83e74952244f46a759a8ccd5e55176c763c7309 Mon Sep 17 00:00:00 2001 From: muffinmad Date: Fri, 22 Nov 2019 14:32:26 +0200 Subject: [PATCH] Don't use xor (fixes #1) Xor is added to subr.el in Emacs 27 --- ibuffer-project.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ibuffer-project.el b/ibuffer-project.el index 22e45cd..b2f4a1c 100644 --- a/ibuffer-project.el +++ b/ibuffer-project.el @@ -5,7 +5,7 @@ ;; Author: Andrii Kolomoiets ;; 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))))