branch: externals/hyperbole
commit ff17563312985ced793be3510829e9c98491ee80
Author: Mats Lidell <[email protected]>
Commit: Mats Lidell <[email protected]>

    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