From 10b0c31d6b14e01f6fd5e9c5ba90efab6d5641d0 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Sat, 7 May 2016 21:23:42 +0300 Subject: [PATCH] emacs: Simplify 'guix-guile-boolean'. * emacs/guix-guile.el (guix-guile-boolean): Use straightforward way to define true/false value. --- emacs/guix-guile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/guix-guile.el b/emacs/guix-guile.el index cd6c54d87e..792f825ca5 100644 --- a/emacs/guix-guile.el +++ b/emacs/guix-guile.el @@ -57,7 +57,7 @@ Return nil, if current buffer does not define a module." (defun guix-guile-boolean (arg) "Return a string with guile boolean value. Transform elisp ARG (nil or non-nil) to the guile boolean (#f or #t)." - (concat "#" (prin1-to-string (if arg 't 'f)))) + (if arg "#t" "#f")) (defun guix-guile-keyword-regexp (keyword) "Return regexp to find guile KEYWORD."