summaryrefslogtreecommitdiff
path: root/test/indent
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-09-20 16:22:16 +0200
committerStefan Monnier <monnier@iro.umontreal.ca>2010-09-20 16:22:16 +0200
commit549d0e1ec428bf4d1448a3143d7374e2b860de25 (patch)
treee654168ddaab0284fb61a31967db8c73dae9698f /test/indent
parenta9cb95dd4e146169211978a22b04607db19615e8 (diff)
downloademacs-549d0e1ec428bf4d1448a3143d7374e2b860de25.tar.gz
* lisp/progmodes/prolog.el (prolog-smie-forward-token)
(prolog-smie-backward-token): New functions. (prolog-mode-variables): Use them to parse "!," correctly. Set up smie-blink-matching for ".". * test/indent/prolog.prolog: Use normal spacing around !.
Diffstat (limited to 'test/indent')
-rw-r--r--test/indent/prolog.prolog2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/indent/prolog.prolog b/test/indent/prolog.prolog
index 968cef57114..8b96cd56a33 100644
--- a/test/indent/prolog.prolog
+++ b/test/indent/prolog.prolog
@@ -150,7 +150,7 @@ generalize(Ee, Te, Env, Eg, Tg) :-
%% instantiate(+X, +T, -E)
%% Utilise la variable X de type T. Le résultat E est X auquel on ajoute
%% tous les arguments implicites (de valeur inconnue).
-instantiate(X, T, X) :- var(T), ! .
+instantiate(X, T, X) :- var(T), !.
instantiate(X, forall(_, _, T), app(E, _)) :- !, instantiate(X, T, E).
instantiate(X, _, X).