chiark / gitweb /
el/dot-emacs.el: Hack in a null `entity' as a emphasis boundary.
[profile] / el / dot-emacs.el
index f3fffe94da455afa6e0905bd473b9da78577db07..cd2d13b5a10e18be317d3b5bb7f1587f3da2b5c5 100644 (file)
@@ -633,6 +633,17 @@ (defcustom mdw-org-latex-defs
                                         :key-type string
                                         :value-type string))))
 
+(setq org-emphasis-regexp-components
+       '("- \t('\"{}"                  ; prematch
+         "- \t.,:!?;'\")}\\["          ; postmatch
+         " \t\r\n"                     ; /forbidden/ as border
+         "."                           ; body regexp
+         1))                           ; maximum newlines
+
+(setq org-entities-user
+       ;; NAME LATEX MATHP HTML ASCII LATIN1 UTF8
+       '(("relax" "" nil "" "" "" "")))
+
 (eval-after-load "org-latex"
   '(setq org-export-latex-classes
           (append mdw-org-latex-defs org-export-latex-classes)))