Archived
1
0
Fork 0

make org syntax highlighting of code blocks a global config

This commit is contained in:
KemoNine 2023-04-12 13:52:39 -04:00
parent 67219564a3
commit fd2e80c231
3 changed files with 4 additions and 8 deletions

View file

@ -45,9 +45,6 @@
; Fix resolution of ~ to match other client paths
(setenv "HOME" "/data/data/com.termux/files/home/")
(setq default-directory "/data/data/com.termux/files/home/")
; Better fonts
(setq org-src-fontify-natively t)
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
@ -177,7 +174,7 @@
'(variable-pitch ((t (:family "Atkinson Hyperlegible" :height 120)))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; set ui to standard org-workspace at launch
; set ui to standard empty code workspace at launch
(add-hook 'after-init-hook (lambda ()
(kmn/workspace-code-empty)
))

View file

@ -254,6 +254,9 @@
;; use y or n instead of yes or no
(fset 'yes-or-no-p 'y-or-n-p)
; org mode syntax highlight code blocks
(setq org-src-fontify-natively t)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; set font for emoji -- DOES NOT WORK ON MOBILE
(when (eq system-type 'windows-nt)

View file

@ -46,9 +46,6 @@
(setenv "HOME" "/data/data/com.termux/files/home/")
(setq default-directory "/data/data/com.termux/files/home/")
; Better fonts
(setq org-src-fontify-natively t)
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
; (add-to-list 'org-file-apps '("\\.doc.*" . "open %s"))
@ -117,7 +114,6 @@
(setq org-return-follows-link t)
(setq org-startup-folded t)
(setq org-support-shift-select t)
(setq org-src-fontify-natively t)
(setq org-log-into-drawer t)
(setq org-log-done t)