home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e5fcf210981810c9cd412fd6aa2bc365ae15943d
parent b257d1037c169171677d4e9894d2d1827446c652
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 19 Aug 2020 15:57:28 +0200

tools/emacs: fix scratch-create-buffer hook

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-editing.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el @@ -295,7 +295,7 @@ If region is active, add its contents to the new buffer." (comment-region (point-at-bol) (point-at-eol))) (forward-line 2)) (rename-buffer (format "*Scratch for %s*" mode) t))) - :hook (scratch-create-buffer-hook . vde/scratch-buffer-setup) + :hook (scratch-create-buffer . vde/scratch-buffer-setup) :bind ("C-c s" . scratch)) (provide 'config-editing)