Subject: [bug#28421] [PATCH] gnu: Add uim.

From: Arun Isaac <[email-masked]>
Date: Tue, 12 Sep 2017 13:04:44 +0530

> +       #:phases
> +       (modify-phases %standard-phases
> +         ;; Set path of uim-el-agent and uim-el-helper-agent executables
> +         (add-after 'configure 'configure-uim-el
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (substitute* "emacs/uim-var.el"
> +               (("\"(uim-el-agent|uim-el-helper-agent)\"" _ executable)
> +                (string-append "\"" (assoc-ref outputs "out")
> +                               "/bin/" executable "\"")))))
> +         ;; Generate emacs autoloads for uim.el
> +         (add-after 'install 'make-autoloads
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (emacs-generate-autoloads
> +              ,name (string-append (assoc-ref outputs "out")
> +                                   "/share/emacs/site-lisp")))))))

I have missed returning #t from these two phases. I'll fix those in a
subsequent patch once somebody reviews this patch, and suggests any
other changes.