diff --git a/pasp-mode.el b/pasp-mode.el index 7f83645..5daf08e 100644 --- a/pasp-mode.el +++ b/pasp-mode.el @@ -199,9 +199,12 @@ Argument ENCODING The current buffer which holds the problem encoding. Optional argument INSTANCE The problem instance which is solved by the encoding. If no instance it is assumed to be also in the encoding file." - (if 'instance - (concat pasp-clingo-path " " pasp-clingo-options " " encoding " " instance) - (concat pasp-clingo-path " " pasp-clingo-options " " encoding))) + (if instance + (concat pasp-clingo-path " " pasp-clingo-options " " + (shell-quote-argument encoding) " " + (shell-quote-argument instance)) + (concat pasp-clingo-path " " pasp-clingo-options " " + (shell-quote-argument encoding)))) (defun pasp-run-clingo (encoding &optional instance) "Run Clingo with some ASP input files. 's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/cache.scm
AgeCommit message (Expand)Author
2017-04-22cache: Work around 'time-monotonic' bug in Guile 2.2.2....* guix/cache.scm (time-monotonic) [guile-2.2]: New variable. * tests/cache.scm (time-monotonic) [guile-2.2]: Likewise. * guix/build/download.scm (time-monotonic) [guile-2.2]: Adjust comment: it's a 2.2.2 bug. Ludovic Courtès
2017-04-18Add (guix cache) and use it in (guix scripts substitute)....* guix/cache.scm, tests/cache.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them. * guix/scripts/substitute.scm (obsolete?): Remove. (remove-expired-cached-narinfos): Rename to... (cached-narinfo-expiration-time): ... this. Remove the removal part and only keep the expiration time part. (narinfo-cache-directories): Add optional 'directory' parameter and honor it. (maybe-remove-expired-cached-narinfo): Remove. (cached-narinfo-files): New procedure. (guix-substitute): Use 'maybe-remove-expired-cache-entries' instead of 'maybe-remove-expired-cached-narinfo'. Ludovic Courtès