summaryrefslogtreecommitdiff
path: root/smart-documents.org
diff options
context:
space:
mode:
authorMarius Peter <blendux@blendux.home>2022-01-05 19:21:10 +0100
committerMarius Peter <blendux@blendux.home>2022-01-05 19:21:10 +0100
commite2df219f4181d20eb0df00090917d07552aa62c4 (patch)
treee1d9201a3b93b303a889c24681dea2cdc59e9b70 /smart-documents.org
parent608f52a4a048e5a76d44cc3d01b1192546570159 (diff)
Fix indent.
Diffstat (limited to 'smart-documents.org')
-rw-r--r--smart-documents.org81
1 files changed, 40 insertions, 41 deletions
diff --git a/smart-documents.org b/smart-documents.org
index eb67493..609383b 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -853,11 +853,10 @@ Xah![fn::[[http://ergoemacs.org/emacs/emacs_set_default_browser.html]]]
We use a browser depending on the url.
#+BEGIN_SRC emacs-lisp :tangle yes
(setq browse-url-browser-function
- '(("wikipedia\\.org" . browse-url-firefox)
- ("github\\.com" . browse-url-chromium)
- ("thefreedictionary\\.com" . eww-browse-url)
- ("." . browse-url-default-browser)
- ))
+ '(("wikipedia\\.org" . browse-url-firefox)
+ ("github\\.com" . browse-url-chromium)
+ ("thefreedictionary\\.com" . eww-browse-url)
+ ("." . browse-url-default-browser)))
#+END_SRC
*** IRC
@@ -938,13 +937,13 @@ Yeah, a Telegram client exists for Emacs.
title Example diagram with Plantuml
package "Package 1" as pkg1 {
- node node1
- node node2
+ node node1
+ node node2
}
package "Package 2" as pkg2 {
- component "Component 1" as comp1
- component "Component 2" as comp2
- interface "Interface" as int
+ component "Component 1" as comp1
+ component "Component 2" as comp2
+ interface "Interface" as int
}
pkg1 .. pkg2
@@ -1008,9 +1007,9 @@ Org mode shines particularly when exporting to PDF---Org files can
reliably be shared and exported to PDF in a reproducible fashion.
#+BEGIN_SRC emacs-lisp :tangle yes
-(use-package pdf-tools)
-(unless (string-equal system-type "windows-nt")
-(pdf-tools-install))
+ (use-package pdf-tools)
+ (unless (string-equal system-type "windows-nt")
+ (pdf-tools-install))
#+END_SRC
*** Accounting
@@ -1833,34 +1832,34 @@ Now, we describe the actual format of the header line.
#+BEGIN_SRC emacs-lisp :tangle yes
(use-package all-the-icons)
- (setq-default
- header-line-format
- '(:eval
- (list
- (if (eq (length (window-list)) 1)
- (propertize " ↤ "
- 'face 'org-meta-line
- 'mouse-face 'highlight
- 'keymap sd-header-line-previous-buffer-keymap
- 'help-echo "Return to previous window.")
- (list (propertize " ❌ "
- 'face 'org-meta-line
- 'mouse-face 'org-todo
- 'keymap sd-header-line-kill-buffer-keymap
- 'help-echo "Close this window.")
- (propertize " ⇱"
- 'face 'org-meta-line
- 'mouse-face 'highlight
- 'keymap sd-header-line-maximize-window-keymap
- 'help-echo "Maximize this window.")
- (propertize "⇲ "
- 'face 'org-meta-line
- 'mouse-face 'highlight
- 'keymap sd-header-line-minimize-window-keymap
- 'help-echo "Minimize this window.")))
- mode-line-buffer-identification)))
-
- (image-animate sd-icon-loading 0 t)
+ (setq-default
+ header-line-format
+ '(:eval
+ (list
+ (if (eq (length (window-list)) 1)
+ (propertize " ↤ "
+ 'face 'org-meta-line
+ 'mouse-face 'highlight
+ 'keymap sd-header-line-previous-buffer-keymap
+ 'help-echo "Return to previous window.")
+ (list (propertize " ❌ "
+ 'face 'org-meta-line
+ 'mouse-face 'org-todo
+ 'keymap sd-header-line-kill-buffer-keymap
+ 'help-echo "Close this window.")
+ (propertize " ⇱"
+ 'face 'org-meta-line
+ 'mouse-face 'highlight
+ 'keymap sd-header-line-maximize-window-keymap
+ 'help-echo "Maximize this window.")
+ (propertize "⇲ "
+ 'face 'org-meta-line
+ 'mouse-face 'highlight
+ 'keymap sd-header-line-minimize-window-keymap
+ 'help-echo "Minimize this window.")))
+ mode-line-buffer-identification)))
+
+ (image-animate sd-icon-loading 0 t)
#+END_SRC
**** Mode line
Copyright 2019--2024 Marius PETER