~ruther/guix-local

97658183eda6e196bd16bed02838d321b45aee70 — Alex Kost 8 years ago 8ca0c88
etc: indent-code.el: Define source tree by "indent-code.el".

* etc/indent-code.el.in: Set default directory by "indent-code.el"
itself, otherwise it works only when called from the top directory of
the guix source tree.
1 files changed, 2 insertions(+), 2 deletions(-)

M etc/indent-code.el.in
M etc/indent-code.el.in => etc/indent-code.el.in +2 -2
@@ 26,10 26,10 @@

;;; Code:

;; Load Scheme indentation rules from the current directory.
;; Load Scheme indentation rules from ".dir-locals.el".
(with-temp-buffer
  (scheme-mode)
  (let ((default-directory (file-name-as-directory "."))
  (let ((default-directory (file-name-as-directory load-file-name))
        (enable-local-variables :all))
    (hack-dir-local-variables)
    (hack-local-variables-apply)))