This commit is contained in:
Thomas von Dein
2017-07-03 18:38:37 +02:00
parent 58c27c9b3f
commit 98606be881
2 changed files with 417 additions and 407 deletions

9
.emacs
View File

@@ -1,4 +1,4 @@
;; Toms Emacs Config - portable - version (20170628.01) -*-emacs-lisp-*- ;; Toms Emacs Config - portable - version (20170703.01) -*-emacs-lisp-*-
;; * Introduction ;; * Introduction
;; This is my emacs config, it is more than twenty years old. It ;; This is my emacs config, it is more than twenty years old. It
@@ -402,8 +402,9 @@
;; - removed smart-forward, it annoys me ;; - removed smart-forward, it annoys me
;; - made tvd-outshine-jump more portable, do not use hardcoded ;; - made tvd-outshine-jump more portable, do not use hardcoded
;; regexps anymore, use outshine functions ;; regexps anymore, use outshine functions
;; 20170703.01:
;; - fixed recentf-exclude list, now REALLY ignores unreadables ;; - fixed recentf-exclude list, now REALLY ignores unreadables
;; - added export for easier export and commit of dot-emacs
;; ** TODO ;; ** TODO
@@ -420,7 +421,7 @@
;; My emacs config has a version (consisting of a timestamp with a ;; My emacs config has a version (consisting of a timestamp with a
;; serial), which I display in the mode line. So I can clearly see, if ;; serial), which I display in the mode line. So I can clearly see, if
;; I'm using an outdated config somewhere. ;; I'm using an outdated config somewhere.
(defvar tvd-emacs-version "20170628.01") (defvar tvd-emacs-version "20170703.01")
;; -------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------
@@ -3240,6 +3241,8 @@ update heading list if neccessary."
(org-export-to-file 'html file)))) (org-export-to-file 'html file))))
(defun export () (defun export ()
"Export .emacs to git, do not use."
;; FIXME: generate version number, add last changelog to git
(interactive) (interactive)
(outshine-to-html "~/D/github/dot-emacs/emacs.html") (outshine-to-html "~/D/github/dot-emacs/emacs.html")
(shell-command "cp ~/.emacs ~/D/github/dot-emacs/") (shell-command "cp ~/.emacs ~/D/github/dot-emacs/")

File diff suppressed because it is too large Load Diff