29 |
;;; Code: |
;;; Code: |
30 |
|
|
31 |
(defun LaTeX-inputenc-package-options nil |
(defun LaTeX-inputenc-package-options nil |
32 |
"Prompt for input encoding." |
"Prompt for package options for the inputenc package." |
33 |
;; separate the condition in three to silence the byte compiler |
;; separate the condition in three to silence the byte compiler |
34 |
(if (boundp 'latex-inputenc-coding-alist) |
(if (boundp 'latex-inputenc-coding-alist) |
35 |
(when (fboundp 'latexenc-coding-system-to-inputenc) |
(when (fboundp 'latexenc-coding-system-to-inputenc) |
69 |
(read-string "Input encoding: "))) |
(read-string "Input encoding: "))) |
70 |
|
|
71 |
(defun LaTeX-arg-inputenc-inputenc (optional) |
(defun LaTeX-arg-inputenc-inputenc (optional) |
72 |
(TeX-argument-insert (LaTeX-inputenc-package-options) nil)) |
"Prompt for input encoding." |
73 |
|
(TeX-argument-insert (LaTeX-inputenc-package-options) nil)) |
74 |
|
|
75 |
(TeX-add-style-hook |
(TeX-add-style-hook |
76 |
"inputenc" |
"inputenc" |