diff options
| author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2023-07-18 14:58:09 -0700 |
|---|---|---|
| committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2023-07-18 14:58:09 -0700 |
| commit | 44ce65f45ade5fa1dad13edb3aa82baa67395666 (patch) | |
| tree | 5038a05b1016e33aaa0330195066befb3dbf0bd6 | |
| parent | f0ccea2ac8f05d3e5fb5b7750e7ba030e3f9a421 (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.el | 6 |
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))) |
