nit(tutorial): add a comment in tutorial-load-page

This commit is contained in:
TEC 2022-01-30 13:33:16 +08:00 committed by Jeetaditya Chatterjee
parent 4bcc5913ba
commit 3e6d0fbf49
No known key found for this signature in database
GPG key ID: 4A1E5568BA34D124

View file

@ -182,6 +182,8 @@
(let ((template (plist-get content :template))
(setup (plist-get content :setup)))
(with-current-buffer doom-tutorial--scratchpad-buffer-name
;; Reapply local variables values, in case the got cleared
;; (e.g. by mode changing).
(setq-local header-line-format
(propertize "Scratch pad" 'face '(bold org-document-title)))
(add-hook 'pre-command-hook #'doom-tutorial--log-cmd nil t)