removed unused code

The LaTeX conlang class has been added to my dotspacemacs instead
This commit is contained in:
Phuntsok Drak-pa 2019-09-03 16:36:41 +02:00
parent d8dc7b7649
commit 3567ae5d5b
2 changed files with 1 additions and 16 deletions

View File

@ -11,20 +11,6 @@
# ### CODE #####################################################################
#+name: setup
#+begin_src emacs-lisp :results silent :exports none
(unless (find "conlang" org-latex-classes :key 'car
:test 'equal)
(add-to-list 'org-latex-classes
'("conlang"
"\\documentclass{book}"
;; ("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
#+end_src
#+NAME: tree-dot
#+BEGIN_SRC emacs-lisp :noweb yes :exports none :eval yes
(defun declare-node (node-text node-generation)

View File

@ -3,6 +3,7 @@
window.onload = function() {
reorganize_html();
create_theme_switcher();
console.log("JS loaded!");
};
function reorganize_html() {
@ -28,9 +29,7 @@ function create_theme_switcher() {
// switch CSS files and button icon, set new cookie on theme switcher click
$('.themeBtn').click(function() {
console.log("Theme change");
var light = !isThemeLight();
console.log(light);
$("#theme").first().attr('href', './css/'
.concat(light ? 'light' : 'dark')
.concat('.css'));