# HG changeset patch # User Juanma Barranquero # Date 1163351491 0 # Node ID a1e6ec065b4f8298126e01e8686827f9edc8448b # Parent 0a6f264ee5b66f0a4aa2636c7e60c2c63c68c306 (ada-83-string-keywords, ada-95-string-keywords, ada-2005-string-keywords): Restore `eval-when-compile'. It wasn't that unneeded after all. diff -r 0a6f264ee5b6 -r a1e6ec065b4f lisp/progmodes/ada-mode.el --- a/lisp/progmodes/ada-mode.el Sun Nov 12 17:06:31 2006 +0000 +++ b/lisp/progmodes/ada-mode.el Sun Nov 12 17:11:31 2006 +0000 @@ -471,27 +471,28 @@ (defvar ada-mode-symbol-syntax-table nil "Syntax table for Ada, where `_' is a word constituent.") -(defconst ada-83-string-keywords - '("abort" "abs" "accept" "access" "all" "and" "array" "at" "begin" - "body" "case" "constant" "declare" "delay" "delta" "digits" "do" - "else" "elsif" "end" "entry" "exception" "exit" "for" "function" - "generic" "goto" "if" "in" "is" "limited" "loop" "mod" "new" - "not" "null" "of" "or" "others" "out" "package" "pragma" "private" - "procedure" "raise" "range" "record" "rem" "renames" "return" - "reverse" "select" "separate" "subtype" "task" "terminate" "then" - "type" "use" "when" "while" "with" "xor") - "List of Ada 83 keywords. +(eval-when-compile + (defconst ada-83-string-keywords + '("abort" "abs" "accept" "access" "all" "and" "array" "at" "begin" + "body" "case" "constant" "declare" "delay" "delta" "digits" "do" + "else" "elsif" "end" "entry" "exception" "exit" "for" "function" + "generic" "goto" "if" "in" "is" "limited" "loop" "mod" "new" + "not" "null" "of" "or" "others" "out" "package" "pragma" "private" + "procedure" "raise" "range" "record" "rem" "renames" "return" + "reverse" "select" "separate" "subtype" "task" "terminate" "then" + "type" "use" "when" "while" "with" "xor") + "List of Ada 83 keywords. Used to define `ada-*-keywords'.") -(defconst ada-95-string-keywords - '("abstract" "aliased" "protected" "requeue" "tagged" "until") - "List of keywords new in Ada 95. + (defconst ada-95-string-keywords + '("abstract" "aliased" "protected" "requeue" "tagged" "until") + "List of keywords new in Ada 95. Used to define `ada-*-keywords'.") -(defconst ada-2005-string-keywords - '("interface" "overriding" "synchronized") - "List of keywords new in Ada 2005. -Used to define `ada-*-keywords.'") + (defconst ada-2005-string-keywords + '("interface" "overriding" "synchronized") + "List of keywords new in Ada 2005. +Used to define `ada-*-keywords.'")) (defvar ada-ret-binding nil "Variable to save key binding of RET when casing is activated.")