From 807bf95c4987a32f19b6e8bc1988c183705d931a Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sun, 11 Feb 2024 16:26:43 +0100 Subject: [PATCH] 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. --- lisp/org-colview.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/org-colview.el b/lisp/org-colview.el index 15e051377..62035a569 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -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)