19 lines
492 B
EmacsLisp
19 lines
492 B
EmacsLisp
|
;;; 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)
|