diff --git a/maintainers/scripts/generate-emacs-packages.el b/maintainers/scripts/generate-emacs-packages.el index 203cf10078bc3..b08a84128d20e 100644 --- a/maintainers/scripts/generate-emacs-packages.el +++ b/maintainers/scripts/generate-emacs-packages.el @@ -31,7 +31,11 @@ (cl-case (package-desc-kind package-spec) (tar ".tar") (single ".el")))) (defun nix-normalize-package-name (package-name) - (intern (replace-regexp-in-string "+" "-plus" (symbol-name package-name)))) + (intern (replace-regexp-in-string + "\\+" "-plus" + (replace-regexp-in-string + "\\." "_" + (symbol-name package-name))))) (defun nix-make-deps-string (deps available-packages) (concat