aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc
diff options
context:
space:
mode:
authorJoakim Verona2013-07-02 22:46:17 +0200
committerJoakim Verona2013-07-02 22:46:17 +0200
commit3718127221fbbc31f8ebd027ab7c95403dbe9118 (patch)
treeef422898f3344c8f94f6ecf63eb583122bbf2bd8 /lisp/vc
parent1ce45b902c67b8a0dda8d71bd2812de29a9988a6 (diff)
parenta3b49114c186d84404226af75ae7905bd1cd018f (diff)
downloademacs-3718127221fbbc31f8ebd027ab7c95403dbe9118.tar.gz
emacs-3718127221fbbc31f8ebd027ab7c95403dbe9118.zip
Merge branch 'trunk' into xwidget
Conflicts: src/window.c
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/vc-dispatcher.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el
index 309cf50404c..4f4c6942ba9 100644
--- a/lisp/vc/vc-dispatcher.el
+++ b/lisp/vc/vc-dispatcher.el
@@ -385,14 +385,15 @@ Display the buffer in some window, but don't select it."
385 385
386(defun vc-compilation-mode (backend) 386(defun vc-compilation-mode (backend)
387 "Setup `compilation-mode' after with the appropriate `compilation-error-regexp-alist'." 387 "Setup `compilation-mode' after with the appropriate `compilation-error-regexp-alist'."
388 (require 'compile)
388 (let* ((error-regexp-alist 389 (let* ((error-regexp-alist
389 (vc-make-backend-sym backend 'error-regexp-alist)) 390 (vc-make-backend-sym backend 'error-regexp-alist))
390 (compilation-error-regexp-alist 391 (error-regexp-alist (and (boundp error-regexp-alist)
391 (and (boundp error-regexp-alist) 392 (symbol-value error-regexp-alist))))
392 (symbol-value error-regexp-alist)))) 393 (let ((compilation-error-regexp-alist error-regexp-alist))
393 (compilation-mode) 394 (compilation-mode))
394 (set (make-local-variable 'compilation-error-regexp-alist) 395 (set (make-local-variable 'compilation-error-regexp-alist)
395 compilation-error-regexp-alist))) 396 error-regexp-alist)))
396 397
397(defun vc-set-async-update (process-buffer) 398(defun vc-set-async-update (process-buffer)
398 "Set a `vc-exec-after' action appropriate to the current buffer. 399 "Set a `vc-exec-after' action appropriate to the current buffer.