[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110964: * progmodes/python.el:
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110964: * progmodes/python.el: |
Date: |
Mon, 26 Nov 2012 20:31:06 -0300 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110964
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: emacs-24
timestamp: Mon 2012-11-26 20:31:06 -0300
message:
* progmodes/python.el:
(python-indent-guess-indent-offset): If indentation is guessed
make python-indent-offset variable buffer local.
modified:
lisp/ChangeLog
lisp/progmodes/python.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-11-26 21:45:58 +0000
+++ b/lisp/ChangeLog 2012-11-26 23:31:06 +0000
@@ -1,5 +1,11 @@
2012-11-26 Fabián Ezequiel Gallina <address@hidden>
+ * progmodes/python.el:
+ (python-indent-guess-indent-offset): If indentation is guessed
+ make python-indent-offset variable buffer local.
+
+2012-11-26 Fabián Ezequiel Gallina <address@hidden>
+
Fix Imenu regression.
* progmodes/python.el:
(python-nav-beginning-of-defun): Fix forward movement when
=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el 2012-11-26 21:45:58 +0000
+++ b/lisp/progmodes/python.el 2012-11-26 23:31:06 +0000
@@ -647,7 +647,7 @@
(python-util-forward-comment)
(current-indentation))))
(if indentation
- (setq python-indent-offset indentation)
+ (set (make-local-variable 'python-indent-offset) indentation)
(message "Can't guess python-indent-offset, using defaults: %s"
python-indent-offset)))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110964: * progmodes/python.el:,
Fabián Ezequiel Gallina <=