emacs: Add hooks for REPL operations.
authorAlex Kost <alezost@gmail.com>
Mon, 13 Oct 2014 17:49:31 +0000 (21:49 +0400)
committerAlex Kost <alezost@gmail.com>
Thu, 16 Oct 2014 06:09:53 +0000 (10:09 +0400)
commit063b60be7b0de45630095cf22f097eaa1953f863
treeabd59adf8a1070c663cfabc72cd870fc9d7ca714
parentdd7c013d4be0fea8db61c909f5ba6f877c143fd3
emacs: Add hooks for REPL operations.

* emacs/guix-backend.el (guix-before-repl-operation-hook,
  guix-after-repl-operation-hook, guix-repl-operation-p): New variables.
  (guix-repl-operation-success-message, guix-repl-output-filter): New
  procedures.
  (guix-start-repl): Adjust for using 'guix-repl-output-filter'.
  (guix-eval-in-repl): Honor 'guix-before-repl-operation-hook'.
emacs/guix-backend.el