branch: externals/ebdb
commit 1df64767c001517ea73d0dc62c2d509f5a343beb
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
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.