From 2f6cc86f4024224d8e976c41fc3bc18530a10b63 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 25 Oct 2022 11:51:10 +0200 Subject: gnu: emacs-csound-mode: Improve package style. * gnu/packages/emacs-xyz.scm (emacs-csound-mode)[arguments]: Use G-expressions. : Use MAKE-FILE-WRITABLE instead of CHMOD. Remove trailing #T. [description]: Use complete sentences. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++------------ 1 file 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 -- cgit v1.2.3