From b7ac9cfb5f6bf690c2bac257a858ea0a0ea1d453 Mon Sep 17 00:00:00 2001 From: Flinner Date: Sun, 13 Mar 2022 20:15:42 +0300 Subject: [PATCH] feat: nor more yes/no -> y/n. and no gui prompt --- emacs.mine/.config/emacs.mine/emacs.org | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/emacs.mine/.config/emacs.mine/emacs.org b/emacs.mine/.config/emacs.mine/emacs.org index e93e149..8214913 100644 --- a/emacs.mine/.config/emacs.mine/emacs.org +++ b/emacs.mine/.config/emacs.mine/emacs.org @@ -66,15 +66,18 @@ remove warning by use-package ** Better Defaults #+begin_src emacs-lisp (setq inhibit-startup-message t) - (scroll-bar-mode -1) ; Disable visible scrollbar - (tool-bar-mode -1) ; Disable the toolbar - (tooltip-mode -1) ; Disable tooltips - (set-fringe-mode 10) ; Give some breathing room + (scroll-bar-mode -1) ; Disable visible scrollbar + (tool-bar-mode -1) ; Disable the toolbar + (tooltip-mode -1) ; Disable tooltips + (set-fringe-mode 10) ; Give some breathing room + + (menu-bar-mode -1) ; Disable the menu bar + (winner-mode 1) ; Disable the menu bar + (setq visible-bell nil) ; Set up the visible bell + (column-number-mode) ; Display Column Number in the modline + (setq use-dialog-box nil) ; I don't like to confirm anything with a mouse! + (defalias 'yes-or-no-p 'y-or-n-p) ; I don't want to type (yes) everytime!, 'y' is enough - (menu-bar-mode -1) ; Disable the menu bar - (winner-mode 1) ; Disable the menu bar - (setq visible-bell nil) ; Set up the visible bell - (column-number-mode) ; Display Column Number in the modline #+end_src Emacs Backups trashing local dir! #+begin_src emacs-lisp