Redo VFM interface. Get rid of compaction_necessary, compaction_nval,
[pspp-builds.git] / src / rename-vars.c
index 212d7bdfb78c8a3fe3d9dd13a6ccbe320edb3b8d..21b80432cd38ffaa3e59c4514c90544cbd6ca1b8 100644 (file)
@@ -42,6 +42,13 @@ cmd_rename_variables (void)
 
   int i;
 
+  if (temporary != 0)
+    {
+      msg (SE, _("RENAME VARS may not be used after TEMPORARY.  "
+                 "Temporary transformations will be made permanent."));
+      cancel_temporary (); 
+    }
+
   lex_match_id ("RENAME");
   lex_match_id ("VARIABLES");