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

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

[elpa] externals/ebdb 13f32ef 304/350: Fix propertize call when formatti


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 13f32ef 304/350: Fix propertize call when formatting field values
Date: Mon, 14 Aug 2017 11:47:00 -0400 (EDT)

branch: externals/ebdb
commit 13f32ef16cd9d9d21132fca35f348868e20045bd
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Fix propertize call when formatting field values
    
    * ebdb-com.el (ebdb-fmt-field): Looks like this was copy-paste bug
      propagation.
---
 ebdb-com.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index 1a582f9..1a0b841 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -474,8 +474,8 @@ property is the field instance itself."
                ((eq priority 'defunct) 'ebdb-defunct)
                (t nil))))
     (if face
-      (propertize value 'face face))
-    value))
+       (propertize value 'face face)
+      value)))
 
 (cl-defmethod ebdb-fmt-field ((fmt ebdb-formatter-ebdb)
                              (field ebdb-field-role)
@@ -489,8 +489,8 @@ property is the field instance itself."
                            (ebdb-fmt-field fmt mail 'oneline record))
                  (ebdb-string person))))
     (if (slot-value field 'defunct)
-       (propertize value 'face 'ebdb-defunct))
-    value))
+       (propertize value 'face 'ebdb-defunct)
+      value)))
 
 (cl-defmethod ebdb-fmt-field ((fmt ebdb-formatter-ebdb)
                              (field ebdb-field-role)
@@ -504,8 +504,8 @@ property is the field instance itself."
                            (ebdb-fmt-field fmt mail 'oneline record))
                  (ebdb-string org))))
     (if (slot-value field 'defunct)
-      (propertize value 'face 'ebdb-defunct))
-    value))
+       (propertize value 'face 'ebdb-defunct)
+      value)))
 
 (defsubst ebdb-indent-string (string column)
   "Indent nonempty lines in STRING to COLUMN (except first line).



reply via email to

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