vc-hooks.el workaround for bug#11490

* vc/vc-hooks.el (vc-mistrust-permissions): Default to t, to avoid data-loss.
This commit is contained in:
Glenn Morris 2012-11-26 18:50:12 -05:00
parent 98f99594f7
commit 999e745ef7
2 changed files with 11 additions and 8 deletions

View file

@ -1,15 +1,16 @@
2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
2012-11-26 Glenn Morris <rgm@gnu.org>
* progmodes/python.el:
(python-indent-guess-indent-offset): If indentation is guessed
make python-indent-offset variable buffer local.
* vc/vc-hooks.el (vc-mistrust-permissions):
Default to t, to avoid data-loss. (Bug#11490)
2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
* progmodes/python.el (python-indent-guess-indent-offset):
If indentation is guessed make python-indent-offset buffer-local.
Fix Imenu regression.
* progmodes/python.el:
(python-nav-beginning-of-defun): Fix forward movement when
statement(s) separates point from defun.
* progmodes/python.el (python-nav-beginning-of-defun):
Fix forward movement when statement(s) separates point from defun.
(python-imenu-prev-index-position): New function.
2012-11-26 Eli Zaretskii <eliz@gnu.org>

View file

@ -107,10 +107,12 @@ control systems."
:type 'boolean
:group 'vc)
(defcustom vc-mistrust-permissions nil
;; If you fix bug#11490, probably you can set this back to nil.
(defcustom vc-mistrust-permissions t
"If non-nil, don't assume permissions/ownership track version-control status.
If nil, do rely on the permissions.
See also variable `vc-consult-headers'."
:version "24.3" ; nil->t, bug#11490
:type 'boolean
:group 'vc)