From f9ba4d0aad9487ffbea9f5d5b173ceed70f4cddc Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Sat, 28 Oct 2023 12:29:47 +0200 Subject: change: reactivated file backups and auto saves, changed where backups are saved --- config.org | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'config.org') diff --git a/config.org b/config.org index deba8fb..5a0e250 100644 --- a/config.org +++ b/config.org @@ -43,10 +43,9 @@ Some quality-of-life improvements (scroll-bar-mode -1) #+end_src -*** Disable automatic creation of backup files +*** Change directory where backups are saved #+begin_src emacs-lisp - (setq make-backup-files nil) - (setq auto-save-default nil) + (setq backup-directory-alist '(("." . "~/.emacs.d/emacs_saves"))) #+end_src *** Disable ring-bell @@ -196,6 +195,8 @@ ibuffer on "C-x b" *** Moving around brackets +Thanks to [[http://xahlee.info][Xah Lee]] for this code. + #+begin_src emacs-lisp (defvar xah-brackets '("“”" "()" "[]" "{}" "<>" "<>" "()" "[]" "{}" "⦅⦆" "〚〛" "⦃⦄" "‹›" "«»" "「」" "〈〉" "《》" "【】" "〔〕" "⦗⦘" "『』" "〖〗" "〘〙" "「」" "⟦⟧" "⟨⟩" "⟪⟫" "⟮⟯" "⟬⟭" "⌈⌉" "⌊⌋" "⦇⦈" "⦉⦊" "❛❜" "❝❞" "❨❩" "❪❫" "❴❵" "❬❭" "❮❯" "❰❱" "❲❳" "〈〉" "⦑⦒" "⧼⧽" "﹙﹚" "﹛﹜" "﹝﹞" "⁽⁾" "₍₎" "⦋⦌" "⦍⦎" "⦏⦐" "⁅⁆" "⸢⸣" "⸤⸥" "⟅⟆" "⦓⦔" "⦕⦖" "⸦⸧" "⸨⸩" "⦅⦆") "A list of strings, each element is a string of 2 chars, the left bracket and a matching right bracket. @@ -345,6 +346,11 @@ My preferred org-mode defaults * Custom functions ** Toggle transparency + +Something happened between emacs 28 and 29 that this needs to be toggled twice +for the first time. After that, it toggles as expected. Will try to fix this +when I find the time to do so. + #+begin_src emacs-lisp (defun toggle-transparency() (interactive) -- cgit v1.2.3