mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
emacs: Avoid unnecessary markers.
This is just cleanup. These markers are all immediately resolved to points by Emacs, so using markers here is just unncessary overhead.
This commit is contained in:
parent
3a3f6f0ab5
commit
9cfafc070a
1 changed files with 5 additions and 5 deletions
|
@ -805,12 +805,12 @@ non-authors is found, assume that all of the authors match."
|
|||
(goto-char (point-max))
|
||||
(if (/= (match-beginning 1) line)
|
||||
(insert (concat "Error: Unexpected output from notmuch search:\n" (substring string line (match-beginning 1)) "\n")))
|
||||
(let ((beg (point-marker)))
|
||||
(let ((beg (point)))
|
||||
(notmuch-search-show-result date count authors subject tags)
|
||||
(notmuch-search-color-line beg (point-marker) tag-list)
|
||||
(put-text-property beg (point-marker) 'notmuch-search-thread-id thread-id)
|
||||
(put-text-property beg (point-marker) 'notmuch-search-authors authors)
|
||||
(put-text-property beg (point-marker) 'notmuch-search-subject subject)
|
||||
(notmuch-search-color-line beg (point) tag-list)
|
||||
(put-text-property beg (point) 'notmuch-search-thread-id thread-id)
|
||||
(put-text-property beg (point) 'notmuch-search-authors authors)
|
||||
(put-text-property beg (point) 'notmuch-search-subject subject)
|
||||
(if (string= thread-id notmuch-search-target-thread)
|
||||
(progn
|
||||
(set 'found-target beg)
|
||||
|
|
Loading…
Reference in a new issue