Commit 71fcf6e2 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Fix language selection code. The default case, when neither of

kom-default-language, KOMLANGUAGE and LANG was set, was missing a
"car".
parent 2ed2ec93
2002-04-22 Per Cederqvist <ceder@ceder.dyndns.org>
* lyskom-rest.el: Fix language selection code. The default case,
when neither of kom-default-language, KOMLANGUAGE and LANG was
set, was missing a "car".
2002-04-21 David Byers <david.byers@swipnet.se>
* lyskom-buttons.el (lyskom-make-button-menu): Temporarily bind
......
......@@ -3787,7 +3787,7 @@ One parameter - the prompt string."
(let ((languages (list kom-default-language
(lyskom-language-from-environment "KOMLANGUAGE")
(lyskom-language-from-environment "LANG")
(car (last lyskom-languages)))))
(car (car (last lyskom-languages))))))
(lyskom-traverse lang languages
(when (assq lang lyskom-languages)
(setq kom-default-language lang
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment