[backup] update backup settings, configure backup on each save
This commit is contained in:
parent
50014f4b99
commit
123cc7c422
13
init.org
13
init.org
|
@ -2722,12 +2722,17 @@ Suggestion by lampilelo for extending =iso-transl-ctl-x-8-map= (https://dpaste.c
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(setq backup-by-copying t
|
||||
backup-directory-alist '(("." . "~/.emacs.d/saves/"))
|
||||
delete-old-versions t
|
||||
kept-new-versions 2
|
||||
kept-old-versions 2
|
||||
kept-new-versions 50
|
||||
kept-old-versions 50
|
||||
version-control t)
|
||||
|
||||
#+END_SRC
|
||||
|
||||
https://stackoverflow.com/questions/6916529/how-can-i-make-emacs-backup-every-time-i-save
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun my-force-backup ()
|
||||
(setq buffer-backed-up nil))
|
||||
#+END_SRC
|
||||
|
||||
* browse-url
|
||||
SLIME opens CLHS links in Firefox, but I'd rather open them in Tor Browser; Tor Browser, however, does not permit other applications to open tabs in a running instance. So I wrote this to copy the links automatically instead.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
Loading…
Reference in New Issue