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))
|
||||
(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)
|
||||
|
|
Loading…
Reference in New Issue