diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-03 16:03:38 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-03 16:03:38 -0700 |
commit | b49e353d9d01adbe60bc5d0b1658b4ef978b0b06 (patch) | |
tree | 9f2ffa6f7a6562abf661a4951012b488ad8b1ae7 /lisp/vc | |
parent | 74b880cbc18bd0194c7b1fc44c4a983ee05adae2 (diff) | |
parent | bc3200871917d5c54c8c4299a06bf8f8ba2ea02d (diff) | |
download | emacs-b49e353d9d01adbe60bc5d0b1658b4ef978b0b06.tar.gz |
Merge from trunk.
Diffstat (limited to 'lisp/vc')
-rw-r--r-- | lisp/vc/add-log.el | 4 | ||||
-rw-r--r-- | lisp/vc/pcvs-defs.el | 2 | ||||
-rw-r--r-- | lisp/vc/vc-git.el | 3 | ||||
-rw-r--r-- | lisp/vc/vc-rcs.el | 5 |
4 files changed, 9 insertions, 5 deletions
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el index e5aead2309f..9170d7b9424 100644 --- a/lisp/vc/add-log.el +++ b/lisp/vc/add-log.el @@ -853,9 +853,9 @@ non-nil, otherwise in local time." (let ((tz (getenv "TZ"))) (unwind-protect (progn - (set-time-zone-rule add-log-time-zone-rule) + (setenv "TZ" add-log-time-zone-rule) (funcall add-log-time-format)) - (set-time-zone-rule tz))) + (setenv "TZ" tz))) (funcall add-log-time-format)) " " full-name " <" addr ">")) diff --git a/lisp/vc/pcvs-defs.el b/lisp/vc/pcvs-defs.el index 67f86dd364c..46b95130ca0 100644 --- a/lisp/vc/pcvs-defs.el +++ b/lisp/vc/pcvs-defs.el @@ -183,7 +183,7 @@ If set to nil, `cvs-mode-add' will always prompt for a message." (defcustom cvs-find-file-and-jump nil "Jump to the modified area when finding a file. -If non-nil, `cvs-mode-file-file' will place the cursor at the beginning of +If non-nil, `cvs-mode-find-file' will place the cursor at the beginning of the modified area. If the file is not locally modified, this will obviously have no effect." :group 'pcl-cvs diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 711a573ba99..fc42b43c97d 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -988,7 +988,8 @@ This command shares argument histories with \\[rgrep] and \\[grep]." (setq command nil)) (setq dir (file-name-as-directory (expand-file-name dir))) (setq command - (grep-expand-template "git grep -n -e <R> -- <F>" regexp files)) + (grep-expand-template "git grep --no-color -n -e <R> -- <F>" + regexp files)) (when command (if (equal current-prefix-arg '(4)) (setq command diff --git a/lisp/vc/vc-rcs.el b/lisp/vc/vc-rcs.el index 488efaa3522..8051009a983 100644 --- a/lisp/vc/vc-rcs.el +++ b/lisp/vc/vc-rcs.el @@ -314,7 +314,10 @@ expanded if `vc-keep-workfiles' is non-nil, otherwise, delete the workfile." (defun vc-rcs-responsible-p (file) "Return non-nil if RCS thinks it would be responsible for registering FILE." ;; TODO: check for all the patterns in vc-rcs-master-templates - (file-directory-p (expand-file-name "RCS" (file-name-directory file)))) + (file-directory-p (expand-file-name "RCS" + (if (file-directory-p file) + file + (file-name-directory file))))) (defun vc-rcs-receive-file (file rev) "Implementation of receive-file for RCS." |