summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2013-12-01 06:13:50 +0200
committerDmitry Gutov <dgutov@yandex.ru>2013-12-01 06:13:50 +0200
commit52789f7fb3f25cfbc6397bed8912a88698c9f8f1 (patch)
tree2cb22c71e533d65d8c6ab7d0431d1ce571478bf5 /.dir-locals.el
parent2e6710c39621ab7dd18b33517699b3daa3dfbb26 (diff)
downloademacs-52789f7fb3f25cfbc6397bed8912a88698c9f8f1.tar.gz
Apply the initial log-edit tweaks discussed at emacs-devel
* .dir-locals.el: (log-edit-move): Add the "Author: " header. * lisp/vc/log-edit.el (log-edit-mode-map): Add binding for `log-edit-beginning-of-line'. (log-edit-setup-add-author): New user option. (log-edit-beginning-of-line): New command. (log-edit): Move major mode call above the contents setup so that the local variable values are already applied. (log-edit): Only insert "Author: " when `log-edit-setup-add-author' is non-nil. (log-edit): When SETUP is non-nil, position point after ": " instead of point-min.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 5bee88267c8..203343f0842 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -7,7 +7,8 @@
;; See admin/notes/bugtracker.
(log-edit-mode . ((log-edit-rewrite-fixes
"[ \n](bug#\\([0-9]+\\))" . "debbugs:\\1")
- (log-edit-font-lock-gnu-style . t)))
+ (log-edit-font-lock-gnu-style . t)
+ (log-edit-setup-add-author . t)))
(change-log-mode . ((add-log-time-zone-rule . t)
(fill-column . 74)
(bug-reference-url-format . "http://debbugs.gnu.org/%s")