diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-02-13 20:49:24 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-02-13 20:49:24 -0500 |
commit | 33f6cf7b4c003932ae6fd86597351610b037fd29 (patch) | |
tree | d95c29aa00321589f2aa207d201e45a8db09ed53 /lisp/vc/log-view.el | |
parent | 6ce6c7420c5863a611975f029b48ae7570f3b6a2 (diff) | |
download | emacs-33f6cf7b4c003932ae6fd86597351610b037fd29.tar.gz |
Add Log View toggle and log format customization for Git and Hg.
* lisp/vc/vc-git.el (vc-git-root-log-format): New option for
customizing log format.
(vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
(vc-git-log-view-mode): Use it.
(vc-git-expanded-log-entry): New function.
(vc-git-log-view-mode): Use it. Truncate lines in root log.
* lisp/vc/vc-hg.el (vc-hg-root-log-template): New option for
customizing log format.
(vc-hg-print-log): Use it.
(vc-hg-expanded-log-entry): New function.
(vc-hg-log-view-mode): Use vc-hg-root-log-template and
vc-hg-expanded-log-entry. Truncate lines in root log.
* lisp/vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
* lisp/vc/log-view.el (log-view-mode-menu): Add
log-view-toggle-entry-display.
Diffstat (limited to 'lisp/vc/log-view.el')
-rw-r--r-- | lisp/vc/log-view.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el index 3753904324b..fa731e77a6e 100644 --- a/lisp/vc/log-view.el +++ b/lisp/vc/log-view.el @@ -168,6 +168,8 @@ :help "Annotate the version at point"] ["Modify Log Comment" log-view-modify-change-comment :help "Edit the change comment displayed at point"] + ["Toggle Details at Point" log-view-toggle-entry-display + :active log-view-expanded-log-entry-function] "-----" ["Next Log Entry" log-view-msg-next :help "Go to the next count'th log message"] |