diff options
Diffstat (limited to 'elpa/auctex-13.1.3/style/swedish.el')
-rw-r--r-- | elpa/auctex-13.1.3/style/swedish.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/elpa/auctex-13.1.3/style/swedish.el b/elpa/auctex-13.1.3/style/swedish.el new file mode 100644 index 0000000..120e67a --- /dev/null +++ b/elpa/auctex-13.1.3/style/swedish.el @@ -0,0 +1,18 @@ +;;; swedish.el --- Setup AUCTeX for editing Swedish text. -*- lexical-binding: t; -*- + +;;; Commentary: +;; +;; Apparently the Swedes use ''this style'' quotations. + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "swedish" + (lambda () + (unless (eq (car TeX-quote-language) 'override) + (setq TeX-quote-language + `("swedish" "''" ,TeX-close-quote ,TeX-quote-after-quote))) + (setq LaTeX-babel-hyphen-language "swedish") + (run-hooks 'TeX-language-sv-hook)) + TeX-dialect) |