From 8edeffdf01a235cb1534fc72043ee2993c0ef4f0 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 13 Nov 2014 12:28:31 -0500 Subject: [PATCH] [emacs] Include new snippets in the generated config --- .emacs.d/emacs.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index ecd9b46..ac93a5e 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -390,12 +390,14 @@ This is one of the things people usually want to change right away. By default, Emacs saves backup files in the current directory. These are the files ending in =~= that are cluttering up your directory lists. The following code stashes them all in =~/.emacs.d/backups=, where I can find them with =C-x C-f= (=find-file=) if I really need to. + #+name: other #+begin_src emacs-lisp (setq backup-directory-alist '(("." . "~/.emacs.d/backups"))) #+end_src Disk space is cheap. Save lots. + #+name: other #+begin_src emacs-lisp (setq delete-old-versions -1) (setq version-control t) @@ -404,6 +406,8 @@ #+end_src ** History From http://www.wisdomandwonder.com/wordpress/wp-content/uploads/2014/03/C3F.html + + #+name: other #+begin_src emacs-lisp (setq savehist-file "~/.emacs.d/savehist") (savehist-mode 1) @@ -420,6 +424,7 @@ http://emacsredux.com/blog/2013/03/27/copy-filename-to-the-clipboard/ https://github.com/bbatsov/prelude + #+name: other #+begin_src emacs-lisp (defun prelude-copy-file-name-to-clipboard () "Copy the current buffer file name to the clipboard."