summaryrefslogtreecommitdiff
path: root/elpa/auctex-13.1.3/style/swedish.el
blob: 120e67a5adcfd298cc7ae3da0e5d59af0815f9fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)