From b2c56308db7464675d4c6fae1de7a8aa22da4d8f Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Tue, 17 Oct 2023 14:20:46 +0200 Subject: [PATCH 5/6] ; ebdb-snarf.el: Pacify the compiler * ebdb-snarf.el (ebdb-snarf-collect): Use `line-beginning-position' instead of `point-at-bol'. --- ebdb-snarf.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ebdb-snarf.el b/ebdb-snarf.el index 1c25df8..0b39d61 100644 --- a/ebdb-snarf.el +++ b/ebdb-snarf.el @@ -1,6 +1,6 @@ ;;; ebdb-snarf.el --- Creating or displaying records based on free-form pieces of text -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2022 Free Software Foundation, Inc. +;; Copyright (C) 2016-2023 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen ;; Keywords: mail @@ -187,9 +187,8 @@ nil." (name (save-excursion (when (re-search-backward name-re - (if (bolp) - (line-beginning-position 0) - (point-at-bol)) + (line-beginning-position + (when (bolp) 0)) t) ;; If something goes wrong with the ;; name, don't worry about it. -- 2.42.0