diff options
author | mattkae <mattkae@protonmail.com> | 2022-05-17 07:07:37 -0400 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-05-17 07:07:37 -0400 |
commit | becff06c71d277647eda4378203d03ab36e141eb (patch) | |
tree | a1f73bba3676f34e0faf76764f5de963321f5576 /elpa/auctex-13.1.3/style/danish.el | |
parent | 3f4a0d5370ae6c34afe180df96add3b8522f4af1 (diff) |
Evil mode and latex support
Diffstat (limited to 'elpa/auctex-13.1.3/style/danish.el')
-rw-r--r-- | elpa/auctex-13.1.3/style/danish.el | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/elpa/auctex-13.1.3/style/danish.el b/elpa/auctex-13.1.3/style/danish.el new file mode 100644 index 0000000..a582e9e --- /dev/null +++ b/elpa/auctex-13.1.3/style/danish.el @@ -0,0 +1,26 @@ +;;; danish.el --- Setup AUCTeX for editing Danish text. -*- lexical-binding: t; -*- + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-quotes + "font-latex" + (quotes)) + +(TeX-add-style-hook + "danish" + (lambda () + (unless (eq (car TeX-quote-language) 'override) + (setq TeX-quote-language `("danish" "\"`" "\"'" ,TeX-quote-after-quote))) + (setq LaTeX-babel-hyphen-language "danish") + ;; Fontification of quotation marks. + (when (fboundp 'font-latex-add-quotes) + (font-latex-add-quotes '("\"`" "\"'")) + (font-latex-add-quotes '("\">" "\"<" german))) + (run-hooks 'TeX-language-dk-hook)) + TeX-dialect) + +;;; danish.el ends here |