emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/annotate c5721f07a8 5/6: - fixed logic of conditional test


From: ELPA Syncer
Subject: [nongnu] elpa/annotate c5721f07a8 5/6: - fixed logic of conditional test.
Date: Tue, 22 Nov 2022 12:58:55 -0500 (EST)

branch: elpa/annotate
commit c5721f07a801817ad81afd1c3c6af369ae130d7d
Author: cage <cage@invalid>
Commit: cage <cage@invalid>

    - fixed logic of conditional test.
---
 annotate.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/annotate.el b/annotate.el
index c64ff9044e..b5ae6e6f32 100644
--- a/annotate.el
+++ b/annotate.el
@@ -2482,9 +2482,8 @@ sophisticated way than plain text."
                                       (separator-re    "\^L?\^_\^L?\^J")
                                       (has-separator-p (string-match 
separator-re file-contents))
                                       (has-node-p      (string-match "Node:" 
file-contents)))
-                                 (if (or (and has-separator-p
-                                              has-node-p)
-                                         (and has-separator-p
+                                 (if (and has-separator-p
+                                          (or has-node-p
                                               has-info-p))
                                      :info
                                    nil)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]