aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero2013-12-11 18:10:22 +0100
committerJuanma Barranquero2013-12-11 18:10:22 +0100
commit0cd616a2d872e4ce6df868e25dc5d19eeaaa3064 (patch)
tree21af6f4874aa1043cb2ac9b0005caa0c9e43308a /lisp
parent3ef8e0d150e8a9c820323851bb2ad4d53170a9e8 (diff)
downloademacs-0cd616a2d872e4ce6df868e25dc5d19eeaaa3064.tar.gz
emacs-0cd616a2d872e4ce6df868e25dc5d19eeaaa3064.zip
* vc/vc-git.el: Silence byte-compiler warnings.
(vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored. (log-edit-set-header): Declare.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/vc/vc-git.el7
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 85776c07a74..6479e197bf7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12013-12-11 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc/vc-git.el: Silence byte-compiler warnings.
4 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5 (log-edit-set-header): Declare.
6
12013-12-11 Eli Zaretskii <eliz@gnu.org> 72013-12-11 Eli Zaretskii <eliz@gnu.org>
2 8
3 * Makefile.in (custom-deps, finder-data): Run output file names 9 * Makefile.in (custom-deps, finder-data): Run output file names
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index a14287f8cbd..51e035a9bc0 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -521,7 +521,7 @@ or an empty string if none."
521 :help "Show the contents of the current stash")) 521 :help "Show the contents of the current stash"))
522 map)) 522 map))
523 523
524(defun vc-git-dir-extra-headers (_dir) 524(defun vc-git-dir-extra-headers (dir)
525 (let ((str (with-output-to-string 525 (let ((str (with-output-to-string
526 (with-current-buffer standard-output 526 (with-current-buffer standard-output
527 (vc-git--out-ok "symbolic-ref" "HEAD")))) 527 (vc-git--out-ok "symbolic-ref" "HEAD"))))
@@ -560,9 +560,9 @@ or an empty string if none."
560 'face 'font-lock-variable-name-face))) 560 'face 'font-lock-variable-name-face)))
561 "\n" 561 "\n"
562 ;; For now just a heading, key bindings can be added later for various bisect actions 562 ;; For now just a heading, key bindings can be added later for various bisect actions
563 (when (file-exists-p (expand-file-name ".git/BISECT_START" (vc-git-root _dir))) 563 (when (file-exists-p (expand-file-name ".git/BISECT_START" (vc-git-root dir)))
564 (propertize "Bisect : in progress\n" 'face 'font-lock-warning-face)) 564 (propertize "Bisect : in progress\n" 'face 'font-lock-warning-face))
565 (when (file-exists-p (expand-file-name ".git/rebase-apply" (vc-git-root _dir))) 565 (when (file-exists-p (expand-file-name ".git/rebase-apply" (vc-git-root dir)))
566 (propertize "Rebase : in progress\n" 'face 'font-lock-warning-face)) 566 (propertize "Rebase : in progress\n" 'face 'font-lock-warning-face))
567 (if stash 567 (if stash
568 (concat 568 (concat
@@ -624,6 +624,7 @@ The car of the list is the current branch."
624(declare-function log-edit-mode "log-edit" ()) 624(declare-function log-edit-mode "log-edit" ())
625(declare-function log-edit-toggle-header "log-edit" (header value)) 625(declare-function log-edit-toggle-header "log-edit" (header value))
626(declare-function log-edit-extract-headers "log-edit" (headers string)) 626(declare-function log-edit-extract-headers "log-edit" (headers string))
627(declare-function log-edit-set-header "log-edit" (header value &optional toggle))
627 628
628(defun vc-git-log-edit-toggle-signoff () 629(defun vc-git-log-edit-toggle-signoff ()
629 "Toggle whether to add the \"Signed-off-by\" line at the end of 630 "Toggle whether to add the \"Signed-off-by\" line at the end of