This commit is contained in:
Thomas von Dein
2017-12-01 15:23:32 +01:00
parent 92df2e7725
commit 3797321908
2 changed files with 474 additions and 464 deletions

9
.emacs
View File

@@ -1,4 +1,4 @@
;; Toms Emacs Config - portable - version (20170924.01) -*-emacs-lisp-*-
;; Toms Emacs Config - portable - version (20171201.01) -*-emacs-lisp-*-
;; * Introduction
;; This is my emacs config, it is more than twenty years old. It
@@ -626,6 +626,9 @@
;; 20170924.01
;; - experimenting swiper
;; 20171201.01
;; - highlight TABs with ruby as well
;; ** TODO
;; - check helpful https://github.com/wilfred/helpful
@@ -654,7 +657,7 @@
;; 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
;; I'm using an outdated config somewhere.
(defvar tvd-emacs-version "20170924.01")
(defvar tvd-emacs-version "20171201.01")
;; --------------------------------------------------------------------------------
@@ -5034,7 +5037,7 @@ files marked, always operate on current line in dired-mode"
(defvar tvd-extra-keywords
'(("\t" . 'extra-whitespace-face)))
(add-something-to-mode-hooks '(c c++ vala cperl emacs-lisp python shell-script)
(add-something-to-mode-hooks '(c c++ vala cperl emacs-lisp python shell-script ruby)
(lambda () (font-lock-add-keywords nil tvd-extra-keywords)))
;; --------------------------------------------------------------------------------