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

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

[elpa] externals/hyperbole ff17563 44/53: Use replace-regexp-in-string i


From: Robert Weiner
Subject: [elpa] externals/hyperbole ff17563 44/53: Use replace-regexp-in-string instead of replace-in-string
Date: Wed, 15 Nov 2017 22:47:09 -0500 (EST)

branch: externals/hyperbole
commit ff17563312985ced793be3510829e9c98491ee80
Author: Mats Lidell <address@hidden>
Commit: Mats Lidell <address@hidden>

    Use replace-regexp-in-string instead of replace-in-string
---
 hyrolo.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyrolo.el b/hyrolo.el
index b24a040..010e89f 100644
--- a/hyrolo.el
+++ b/hyrolo.el
@@ -53,7 +53,7 @@ See documentation of the function `format-time-string' for 
format options."
 (defvar hyrolo-display-format-function
   ;; Set trailing newlines to exactly two.
   (lambda (entry)
-    (concat (replace-in-string entry "[ \t\n\r]+\\'" "") "\n\n"))
+    (concat (replace-regexp-in-string "[ \t\n\r]+\\'" "" entry) "\n\n"))
   "*Function of one argument, a rolo entry string, which modifies the string 
for display.")
 
 (defcustom hyrolo-email-format "%s\t\t<%s>"



reply via email to

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