mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Prevent loading vc-bzr writing to ~/.bzr.log
* lisp/vc/vc-bzr.el (vc-bzr-status-switches): Disable bzr logging.
This commit is contained in:
parent
ed8b4e0c0c
commit
7f4e5ca8fb
1 changed files with 3 additions and 1 deletions
|
|
@ -98,7 +98,9 @@ If nil, use the value of `vc-annotate-switches'. If t, use no switches."
|
|||
(defcustom vc-bzr-status-switches
|
||||
(ignore-errors
|
||||
(with-temp-buffer
|
||||
(call-process vc-bzr-program nil t nil "help" "status")
|
||||
(let ((process-environment (cons (format "BZR_LOG=%s" null-device)
|
||||
process-environment)))
|
||||
(call-process vc-bzr-program nil t nil "help" "status"))
|
||||
(if (search-backward "--no-classify" nil t)
|
||||
"--no-classify")))
|
||||
"String or list of strings specifying switches for bzr status under VC.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue