diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-10-25 11:51:10 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-10-25 12:01:42 +0200 |
commit | 2f6cc86f4024224d8e976c41fc3bc18530a10b63 (patch) | |
tree | b4eab1a6401dfb7b17174592b9fef802bd14ae41 /gnu/packages/emacs-xyz.scm | |
parent | 861a6f7f46eabf972b571df72b84dd5a3d29778f (diff) |
gnu: emacs-csound-mode: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-csound-mode)[arguments]: Use
G-expressions.
<phases>: Use MAKE-FILE-WRITABLE instead of CHMOD. Remove trailing #T.
[description]: Use complete sentences.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d1de222c2c..07b64e7137 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -31991,22 +31991,21 @@ arbitrary Emacs Lisp objects.") "0kfhca1n0iv1400jf4ggjbarg7ry8ccd5bs7cf2brjdiqp74cvwb")))) (build-system emacs-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-breaking-compilation - (lambda _ - (for-each (lambda (file) - (chmod file #o600) ; needed to write changes. - (emacs-batch-disable-compilation file)) - '("csound-font-lock.el")) - #t))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-breaking-compilation + (lambda _ + (let ((file "csound-font-lock.el")) + (make-file-writable file) + (emacs-batch-disable-compilation file))))))) (propagated-inputs (list emacs-dash emacs-highlight emacs-multi emacs-shut-up)) (home-page "https://github.com/hlolli/csound-mode") (synopsis "Emacs major mode for coding in CSound") - (description "Provides both a basic major mode for editing -CSound files, as well as a REPL for fast feedback when composing -and sound-designing.") + (description "This package provides both a basic major mode for editing +CSound files, as well as a REPL for fast feedback when composing and +sound-designing using CSound.") (license license:gpl3+)))) (define-public emacs-multi |