mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue