Commit e5fcf2109818

Vincent Demeester <vincent@sbr.pm>
2020-08-19 15:57:28
tools/emacs: fix scratch-create-buffer hook
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent b257d10
Changed files (1)
tools
emacs
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)