mirror of https://github.com/djcb/mu.git
* mu4e: don't use beginning-of-buffer non-interactively (fixes compilation warning)
This commit is contained in:
parent
893cde89b9
commit
9c7d2e3b16
|
@ -194,7 +194,8 @@ store your org-contacts."
|
||||||
the given regexp."
|
the given regexp."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(insert-file-contents path)
|
(insert-file-contents path)
|
||||||
(save-excursion (beginning-of-buffer)
|
(save-excursion
|
||||||
|
(goto-char (point-min))
|
||||||
(if (re-search-forward regexp nil t)
|
(if (re-search-forward regexp nil t)
|
||||||
t
|
t
|
||||||
nil))))
|
nil))))
|
||||||
|
@ -204,7 +205,8 @@ store your org-contacts."
|
||||||
with the string replace."
|
with the string replace."
|
||||||
(with-temp-file path
|
(with-temp-file path
|
||||||
(insert-file-contents path)
|
(insert-file-contents path)
|
||||||
(save-excursion (beginning-of-buffer)
|
(save-excursion
|
||||||
|
(goto-char (point-min))
|
||||||
(if (re-search-forward regexp nil t)
|
(if (re-search-forward regexp nil t)
|
||||||
(replace-match to-string nil nil)))))
|
(replace-match to-string nil nil)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue