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

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

[elpa] externals/indent-bars 226b6c2dd0 226/431: custom-inherit: correct


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 226b6c2dd0 226/431: custom-inherit: correctly handle 'unspecified atoms
Date: Mon, 16 Sep 2024 12:59:31 -0400 (EDT)

branch: externals/indent-bars
commit 226b6c2dd05cb663cec9a4cf705a72473df8a7f8
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    custom-inherit: correctly handle 'unspecified atoms
---
 indent-bars.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indent-bars.el b/indent-bars.el
index b176fb8831..c5628f1b23 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -759,6 +759,9 @@ corresponding value in OLD.  Any trailing PLIST in NEW and 
OLD
 will be merged (with NEW taking precedence).  The merged value is
 returned."
   (cond
+   ((and old (eq new 'unspecified))
+    old)       ; fully inherited
+   
    ((and (atom old) (atom new))
     (if (eq new 'unspecified) old new))
    



reply via email to

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