WIP: bees service
[jackhill/guix/guix.git] / .dir-locals.el
index 4599f06..8f07a08 100644 (file)
@@ -11,8 +11,9 @@
       . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")
 
      ;; Emacs-Guix
-     (eval . (setq guix-directory
-                   (locate-dominating-file default-directory ".dir-locals.el")))
+     (eval . (setq-local guix-directory
+                         (locate-dominating-file default-directory
+                                                 ".dir-locals.el")))
 
      ;; Geiser
      ;; This allows automatically setting the `geiser-guile-load-path'
@@ -24,7 +25,7 @@
                ;; strange problem where this code "escapes" to some other buffers,
                ;; at least vc-mode.  See:
                ;;   https://lists.gnu.org/archive/html/guix-devel/2020-11/msg00296.html
-               ;; (TODO: add/replace with upstream emacs bug link when reported)
+               ;; Upstream report: <https://bugs.gnu.org/44698>
                ;; Hence the following "when", which might otherwise be unnecessary;
                ;; it prevents causing an error when root-dir-unexpanded is nil.
                (when root-dir-unexpanded
    (eval . (put 'let-system 'scheme-indent-function 1))
 
    (eval . (put 'with-database 'scheme-indent-function 2))
+   (eval . (put 'call-with-database 'scheme-indent-function 1))
    (eval . (put 'call-with-transaction 'scheme-indent-function 1))
    (eval . (put 'with-statement 'scheme-indent-function 3))
    (eval . (put 'call-with-retrying-transaction 'scheme-indent-function 1))