summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2023-07-18 14:58:09 -0700
committerEric Abrahamsen <eric@ericabrahamsen.net>2023-07-18 14:58:09 -0700
commit44ce65f45ade5fa1dad13edb3aa82baa67395666 (patch)
tree5038a05b1016e33aaa0330195066befb3dbf0bd6
parentf0ccea2ac8f05d3e5fb5b7750e7ba030e3f9a421 (diff)
Update vcard-parse.el to use line-*-positionexternals/vcard
Thanks to Arash Esbati * vcard-parse.el (vcard-parse-buffer): The point-at-* functions are deprecated.
-rw-r--r--vcard-parse.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcard-parse.el b/vcard-parse.el
index 571faa1..e43ceed 100644
--- a/vcard-parse.el
+++ b/vcard-parse.el
@@ -1,6 +1,6 @@
;;; vcard-parse.el --- Library for parsing vCards -*- lexical-binding: t; -*-
-;; Copyright (C) 2019-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2019-2023 Free Software Foundation, Inc.
;; Author: Eric Abrahamsen <eric@ericabrahamsen.net>
;; Maintainer: Eric Abrahamsen <eric@ericabrahamsen.net>
@@ -221,8 +221,8 @@ Returns a list of contact objects."
'(vcard) :error
"Parsing failed with:\n %s"
(buffer-substring-no-properties
- (point-at-bol)
- (point-at-eol))))))
+ (line-beginning-position)
+ (line-end-position))))))
(push card out)))
(nreverse out)))