From 26e2b590b77387627e43e156cb824a30ff7d5fb5 Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Wed, 19 Mar 2025 12:01:08 -0400 Subject: Rename seam-replace-string-in-notes -> seam-replace-string-in-all-notes --- seam.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seam.el b/seam.el index 6c909eb..f7f76db 100644 --- a/seam.el +++ b/seam.el @@ -356,7 +356,7 @@ from 1). Otherwise a completion prompt is given for the desired type." (let ((old-slug (file-name-base old)) (new-slug (file-name-base new))) (unless (string= old-slug new-slug) - (let ((count (seam-replace-string-in-notes + (let ((count (seam-replace-string-in-all-notes (format "[[seam:%s]" old-slug) (format "[[seam:%s]" new-slug) t))) @@ -425,7 +425,7 @@ Otherwise, it's nil." (string-match seam-note-file-regexp file)) collect file))) -(defun seam-replace-string-in-notes (old new preserve-modtime) +(defun seam-replace-string-in-all-notes (old new preserve-modtime) (let ((hash (make-hash-table :test 'equal))) (dolist (file (seam-note-files-containing-string old)) (puthash file nil hash)) -- cgit v1.2.3