emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-mime b129579986 087/118: Regexp search for sig sep


From: ELPA Syncer
Subject: [nongnu] elpa/org-mime b129579986 087/118: Regexp search for sig sep
Date: Wed, 5 Jan 2022 07:58:49 -0500 (EST)

branch: elpa/org-mime
commit b129579986a388ed07e3c5415d0af9fdc04ad036
Author: Çağlar Girit <caglargirit@gmail.com>
Commit: Çağlar Girit <caglargirit@gmail.com>

    Regexp search for sig sep
---
 org-mime.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-mime.el b/org-mime.el
index 8f46516400..2f30088a63 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -166,7 +166,7 @@ Default (nil) selects the original org-mode file."
   :group 'org-mime
   :type 'sexp)
 
-(defcustom org-mime-mail-signature-separator "--"
+(defcustom org-mime-mail-signature-separator "^--"
   "Default mail signature separator."
   :group 'org-mime
   :type 'string)
@@ -451,7 +451,7 @@ CURRENT-FILE is used to calculate full path of images."
   "Find start of signature line in email."
   (save-excursion
     (goto-char (point-max))
-    (search-backward org-mime-mail-signature-separator nil t nil)))
+    (re-search-backward org-mime-mail-signature-separator nil t nil)))
 
 ;;;###autoload
 (defun org-mime-htmlize ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]