diff --git a/CHANGELOG.develop b/CHANGELOG.develop index 62957011f..ce8ef5cf3 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -497,6 +497,8 @@ Other: to Sylvain Benner) - New function =configuration-layer/load-file= to load files silently (thanks to Sylvain Benner) + - Fix configuration-layer/insert-lazy-install-configuration, which has been + broken since v0.200.0. - Fixed duplicate "Open quick help..." in the minibuffer at startup (thanks to Sylvain Benner) - Fixed overflow of line in page-break-lines-mode when using line number diff --git a/core/core-configuration-layer.el b/core/core-configuration-layer.el index 43c81e923..740b700cf 100644 --- a/core/core-configuration-layer.el +++ b/core/core-configuration-layer.el @@ -2421,10 +2421,7 @@ depends on it." (let ((layer-name (intern (completing-read "Choose a used layer" - (sort configuration-layer--used-layers - (lambda (x y) - (string< (oref (cdr x) :name) - (oref (cdr y) :name)))))))) + (sort (copy-list configuration-layer--used-layers) #'string<))))) (let ((mode-exts (configuration-layer//lazy-install-extensions-for-layer layer-name))) (dolist (x mode-exts)