aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/init.org
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2020-04-22 12:22:47 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2020-04-22 12:22:47 +0200
commitf05b0ce260add10233a24198b5baca3194bba317 (patch)
tree3f2dcc328e8dadd2bb16a99c62229c8cb89adf87 /.emacs.d/init.org
parentd4b1408e218f81c3e97848cacb578474877f66db (diff)
downloaddotfiles-f05b0ce260add10233a24198b5baca3194bba317.tar.gz
dotfiles-f05b0ce260add10233a24198b5baca3194bba317.zip
emacs: bring back to life the pre-push hook
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.emacs.d/init.org')
-rw-r--r--.emacs.d/init.org12
1 files changed, 7 insertions, 5 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index f39e64d..4e4e441 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -1,8 +1,8 @@
#+TITLE: mssola's GNU Emacs configuration
#+AUTHOR: Miquel Sabaté Solà
#+EMAIL: mikisabate@gmail.com
-#+HTML_HEAD: <link rel="stylesheet" href="http://jo.mssola.com/static/style.css" type="text/css" />
-#+HTML_HEAD: <link rel="stylesheet" href="http://jo.mssola.com/static/org.css" type="text/css" />
+#+HTML_HEAD: <link rel="stylesheet" href="http://jo.mssola.com/stylesheets/main.css" type="text/css" />
+#+HTML_HEAD: <link rel="stylesheet" href="http://jo.mssola.com/stylesheets/emacs.css" type="text/css" />
#+BABEL: :cache yes
#+PROPERTY: header-args :tangle ~/.emacs.d/init.el
@@ -35,9 +35,7 @@ file *always*. The initial contents of the =init.el= are:
(byte-compile-file (concat user-emacs-directory "init.el"))
#+END_SRC
-There is no reason to track the init.el file, and no reason to change this
-file. In order to ensure this, make sure to apply the following command after
-cloning:
+There is no reason to track the =init.el= file, and no reason to change this file. In order to ensure this, make sure to apply the following command after cloning:
#+BEGIN_SRC sh :tangle no
git update-index --assume-unchanged emacs/init.el
@@ -104,6 +102,8 @@ on each change, the following function is provided:
(add-hook 'after-save-hook 'tangle-init)
#+END_SRC
+As you can see, this function will tangle and compile the resulting =init.el= file, and it will also produce an HTML version of it. This HTML version will be pushed into my [[https://jo.mssola.com][personal site]] thanks to a git [[https://github.com/mssola/dotfiles/blob/master/.emacs.d/pre-push][pre-push]] hook. The resulting version being hosted [[https://jo.mssola.com/static/init.html][here]].
+
* Introduction
I'm using GNU Emacs 27, but everything should be working since GNU Emacs 24. There are some exceptions to this (e.g. webkit support), but these cases are individually handled.
@@ -2631,6 +2631,8 @@ repositories. I have taken lots of pieces from here and there, but most notably:
- [[https://github.com/purcell/emacs.d][@purcell]]
- [[https://github.com/sachac/.emacs.d][@sachac]] ([[http://pages.sachachua.com/.emacs.d/Sacha.html][HTML version]])
- [[https://github.com/larstvei/dot-emacs][@larstvei]]
+- [[https://github.com/hlissner/doom-emacs][doom-emacs]]
+- [[https://gitlab.com/protesilaos/dotfiles][@protesilaos]]
* License