The attached patch fixes bug 4361 for trunk.
For LyX 1.5 the bug is not that easily fixable because babel is there called
too late in the preamble.
Is the solution correct or is \deactivatetilden also covered by
\shorthandsspanish?
regards Uwe
Index: languages
===================================================================
--- languages (revision 21682)
+++ languages (working copy)
@@ -62,7 +62,7 @@
scottish scottish "Scottish" false iso8859-15 gd_GB ""
serbian croatian "Serbian" false iso8859-5 sr_HR ""
serbocroatian croatian "Serbo-Croatian" false iso8859-2 sh_HR ""
-spanish spanish "Spanish" false iso8859-15 es_ES "\deactivatetilden"
+spanish spanish "Spanish" false iso8859-15 es_ES "\deactivatetilden\renewcommand\shorthandsspanish{}"
slovak slovak "Slovak" false iso8859-2 sk_SK ""
slovene slovene "Slovene" false iso8859-2 sl_SI ""
swedish swedish "Swedish" false iso8859-15 sv_SE ""