Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/code/elpa/auctex-13.2.1/style/danish.el

27 lines
729 B
EmacsLisp

;;; 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