summary refs log tree commit diff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0be233e608..9f7b431afa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12269,10 +12269,11 @@ characters.")
        (modules '((guix build utils)))
        (snippet
         '(begin
-           (for-each (lambda (file)
-                       (unless (equal? file "./ob-sclang.el")
-                         (delete-file file)))
-                     (find-files "." "\\.el"))))))
+           (with-directory-excursion "lisp"
+             (for-each (lambda (file)
+                         (unless (equal? file "./ob-sclang.el")
+                           (delete-file file)))
+                       (find-files "." "\\.el$")))))))
     (propagated-inputs
      (list emacs-org emacs-scel))
     (synopsis "Org Babel support for SuperCollider")