Guix/Emacs: Fix manifest matching when it contains "guix".
parent
fdbf703369
commit
29be65d8cd
|
@ -69,7 +69,7 @@ NAME-FUNCTION takes the file base name as argument and returns NAME.
|
|||
If MULTIPLE? is non-nil, return a list of (NAME FILE) of the selected manifests."
|
||||
(cl-flet ((name (file)
|
||||
(replace-regexp-in-string
|
||||
"-?guix-?" ""
|
||||
"guix-" ""
|
||||
(funcall name-function
|
||||
(file-name-base file)))))
|
||||
(if file
|
||||
|
|
Loading…
Reference in New Issue