branch: externals/vcard commit 44ce65f45ade5fa1dad13edb3aa82baa67395666 Author: Eric Abrahamsen <e...@ericabrahamsen.net> Commit: Eric Abrahamsen <e...@ericabrahamsen.net>
Update vcard-parse.el to use line-*-position Thanks to Arash Esbati * vcard-parse.el (vcard-parse-buffer): The point-at-* functions are deprecated. --- vcard-parse.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcard-parse.el b/vcard-parse.el index 571faa1c6e..e43ceed8be 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 <e...@ericabrahamsen.net> ;; Maintainer: Eric Abrahamsen <e...@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)))