emacs: Simplify 'guix-guile-boolean'.
* emacs/guix-guile.el (guix-guile-boolean): Use straightforward way to define true/false value.
This commit is contained in:
parent
26fceae21a
commit
10b0c31d6b
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user