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

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

[elpa] externals/ebdb 1df6476 322/350: Remove stray code


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 1df6476 322/350: Remove stray code
Date: Mon, 14 Aug 2017 11:47:03 -0400 (EDT)

branch: externals/ebdb
commit 1df64767c001517ea73d0dc62c2d509f5a343beb
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Remove stray code
    
    * ebdb-com.el (ebdb-subint): Delete this function, it wasn't used
      anywhere.
---
 ebdb-com.el | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index f261db1..527605d 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1416,16 +1416,6 @@ DATE must be in yyyy-mm-dd format."
    (ebdb-compare-records (ebdb-record-field record 'timestamp)
                          'creation-date 'equal) fmt))
 
-;;; Parsing phone numbers
-;;; XXX this needs expansion to handle international prefixes properly
-;;; i.e. +353-number without discarding the +353 part. Problem being
-;;; that this will necessitate yet another change in the database
-;;; format for people who are using north american numbers.
-
-(defsubst ebdb-subint (string num)
-  "Used for parsing phone numbers."
-  (string-to-number (match-string num string)))
-
 (defmacro ebdb-with-record-edits (spec &rest body)
   "Run BODY on all records listed in the cdr of SPEC.
 



reply via email to

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