diff options
author | Alex Kost <alezost@gmail.com> | 2015-10-29 21:27:56 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-10-31 23:22:40 +0300 |
commit | 20ce2fee3364aa508c7ed03a0d519c783782a8b8 (patch) | |
tree | fd06bc58444ed7f177e259ed0aec23b4224674e5 /doc/emacs.texi | |
parent | fbd213a83ffc80c432e0c62868e56c020729a49f (diff) | |
download | patches-20ce2fee3364aa508c7ed03a0d519c783782a8b8.tar patches-20ce2fee3364aa508c7ed03a0d519c783782a8b8.tar.gz |
emacs: Add key bindings for 'guix-build-log-minor-mode'.
* emacs/guix-build-log.el (guix-build-log-mode-map): Move keys to ...
(guix-build-log-common-map): ...here. New variable.
(guix-build-log-minor-mode-map): New variable.
(guix-build-log-minor-mode): Use it.
* doc/emacs.texi (Emacs Build Log): Document it.
Diffstat (limited to 'doc/emacs.texi')
-rw-r--r-- | doc/emacs.texi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi index b36e859b4a..03dc9519f8 100644 --- a/doc/emacs.texi +++ b/doc/emacs.texi @@ -646,12 +646,13 @@ Toggle (show/hide) the bodies of all build phases. @end table There is also @kbd{M-x guix-build-log-minor-mode} which also provides -the same highlighting (but not key bindings). And as it is a minor -mode, it can be enabled in any buffer. For example, if you are building -some package in a shell buffer (@pxref{Interactive Shell,,, emacs, The -GNU Emacs Manual}), you may enable @command{guix-build-log-minor-mode} -to make it more colorful. Guix build output is rather specific, so this -new highlighting shouldn't conflict with the existing one. +the same highlighting. And as it is a minor mode, it can be enabled in +any buffer. For example, if you are building some package in a shell +buffer (@pxref{Interactive Shell,,, emacs, The GNU Emacs Manual}), you +may enable @command{guix-build-log-minor-mode} to make it more colorful. +Guix build output is rather specific, so this new highlighting shouldn't +conflict with the existing one. This mode also provides the same key +bindings as the major mode, but prefixed with @kbd{C-c}. @node Emacs Completions |