diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-10-28 12:29:47 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-10-28 12:29:47 +0200 |
| commit | f9ba4d0aad9487ffbea9f5d5b173ceed70f4cddc (patch) | |
| tree | 8da8261f3d1e651ff9717a07982c23ba733e4a60 | |
| parent | ebb45524a7188adbdf48a1dab6595ff07295141e (diff) | |
change: reactivated file backups and auto saves, changed where backups are saved
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | config.org | 12 |
2 files changed, 10 insertions, 3 deletions
@@ -8,6 +8,7 @@ tramp .last-package-update-day auto-save-list/ +emacs_saves/ eln-cache/ elpa/ games/ @@ -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) |
