[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-di
From: |
Rostislav Svoboda |
Subject: |
[bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-dir value. |
Date: |
Sun, 15 Oct 2023 19:21:29 +0200 |
> > + (emacs-substitute-sexps "haskell-snippets.el"
> > + ("setq haskell-snippets-dir"
> > + '(file-name-parent-directory
> > + (file-name-directory load-file-name))))))
> There is actually a substitute-sexps specialization for variables.
> Perhaps use that instead?
The emacs-substitute-variables doesn't work since haskell-snippets-dir
is defined using setq, not defcustom, hence I used the
emacs-substitute-sexps.
> > * gnu/packages/emacs-xyz.scm (emacs-haskell-snippets): Fix
> > haskell-snippets-dir value
> >
> > The value of haskell-snippets-dir was:
> > /gnu/store/*-emacs-haskell-snippets-*/share/emacs/site-
> > lisp/haskell-snippets-*/
> > It needs to be:
> > /gnu/store/*-emacs-haskell-snippets-*/share/emacs/site-lisp/
> >
> > The error was (abbreviated):
> > No such file or directory, /gnu/store/*-emacs-haskell-snippets-
> > */share/emacs/site-lisp/haskell-snippets-*/snippets
>
> Explanations go above the ChangeLog.
Ok, I changed that. See the patch in the attachment.
Cheers
0001-gnu-emacs-haskell-snippets-Fix-haskell-snippets-dir-.patch
Description: Text Data
- [bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-dir value., Rostislav Svoboda, 2023/10/15
- [bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-dir value., Liliana Marie Prikler, 2023/10/15
- [bug#66562] [PATCH] gnu: emacs-haskell-snippets: Fix haskell-snippets-dir value.,
Rostislav Svoboda <=
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/15
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Rostislav Svoboda, 2023/10/16
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/16
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Rostislav Svoboda, 2023/10/17
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/17
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Rostislav Svoboda, 2023/10/18
- [bug#66562] [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/18
bug#66562: [PATCH v3] gnu: emacs-haskell-snippets: Use correct directory for snippets., Liliana Marie Prikler, 2023/10/23