lisp/org-colview.el (org-columns): Avoid calling expensive `move-marker'

Just rely on garbage collector to do the right thing.  `move-marker'
significantly slows down column creation.   More than GC.
This commit is contained in:
Ihor Radchenko 2024-02-11 16:26:43 +01:00
parent 7e547fd3b6
commit 807bf95c49
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 0 additions and 1 deletions

View File

@ -897,7 +897,6 @@ When COLUMNS-FMT-STRING is non-nil, use it as the column format."
(setq truncate-lines t))
(dolist (entry cache)
(goto-char (car entry))
(move-marker (car entry) nil)
(org-columns--display-here (cdr entry)))))))))
(defun org-columns-new (&optional spec &rest attributes)