commit 7175c0dfbd3a15c126ce7456b60395a293fbcff0
parent d20a55d3c4b6f4a8bc28f9d511ca2432d2c05679
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date: Sat, 21 Mar 2026 15:20:04 -0300
Fixed typos.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el
@@ -47,7 +47,7 @@
;;
(defalias 'yes-or-no-p 'y-or-n-p)
-(setopt use-short-anwsers t)
+(setopt use-short-answers t)
(windmove-default-keybindings 'meta)
(setq-default fill-column 80)
@@ -162,7 +162,7 @@
(defun c-configs ()
(setq tab-width 4)
(setq indent-tabs-mode nil)
- (add-hook 'before-save-hook 'clang-format nil t)
+ (add-hook 'before-save-hook #'clang-format nil t)
;; I hate c-mode for using C-c.
(local-set-key (kbd "C-c C-c") #'compile))
(add-hook 'c-mode-hook #'c-configs)