mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-27 17:02:51 +00:00
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:
parent
7e547fd3b6
commit
807bf95c49
|
@ -897,7 +897,6 @@ When COLUMNS-FMT-STRING is non-nil, use it as the column format."
|
||||||
(setq truncate-lines t))
|
(setq truncate-lines t))
|
||||||
(dolist (entry cache)
|
(dolist (entry cache)
|
||||||
(goto-char (car entry))
|
(goto-char (car entry))
|
||||||
(move-marker (car entry) nil)
|
|
||||||
(org-columns--display-here (cdr entry)))))))))
|
(org-columns--display-here (cdr entry)))))))))
|
||||||
|
|
||||||
(defun org-columns-new (&optional spec &rest attributes)
|
(defun org-columns-new (&optional spec &rest attributes)
|
||||||
|
|
Loading…
Reference in a new issue