Commits

Anonymous committed b8591c4

Pass 2nd arg to local-variable-p <1043580416.14362.182.camel@bobcat.ods.org>.

  • Participants
  • Parent commits 213ea3c

Comments (0)

Files changed (2)

+2003-01-26  Ville Skyttä  <scop@xemacs.org>
+
+	* sml-proc.el (sml-compile): Pass second arg to
+	`local-variable-p', thanks to
+	Peter Mřller Neergaard <turtle@achilles.linearity.org>.
+
 2003-01-18  Rendhalver [Peter Brown]  <rendhalver@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 0.07 released.
 	 (setq cmd (concat cmd "/.."))))
      (setq cmd
 	   (cond
-	    ((local-variable-p 'sml-compile-command) sml-compile-command)
+	    ((local-variable-p 'sml-compile-command (current-buffer))
+	     sml-compile-command)
 	    ((string-match "^\\s-*cd\\s-+\"\\.\"\\s-*;\\s-*" cmd)
 	     (substring cmd (match-end 0)))
 	    ((string-match "^\\s-*cd\\s-+\"\\(\\./\\)" cmd)