branch: elpa/why-this commit 9f8c0d4e09468bd6ba46a9a43e8cb821b7332100 Author: Akib Azmain Turja <a...@disroot.org> Commit: Akib Azmain Turja <a...@disroot.org>
Fix annonating last part when heat map disabled --- why-this.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/why-this.el b/why-this.el index 312bbfc87c..5b06bd2946 100644 --- a/why-this.el +++ b/why-this.el @@ -432,7 +432,8 @@ Actually the supported backend is returned." (nth i contents) "\n"))) (setq i (1+ i))) - (funcall add-heat) + (when why-this-annonate-enable-heat-map + (funcall add-heat)) (setq buffer-read-only t) (goto-char (point-min)) (display-buffer (current-buffer))))