From: Fabián Ezequiel Gallina Date: Thu, 17 May 2012 03:02:55 +0000 (-0300) Subject: Do not indent at the beginning of buffer X-Git-Tag: emacs-24.2.90~1199^2~623 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69bab1deb3e467716f5ca0d80200563b46ebc89c;p=emacs.git Do not indent at the beginning of buffer --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 250f4812a33..9a55f337996 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -452,6 +452,9 @@ START is the buffer position where the sexp starts." (start)) (cons (cond + ;; Beginning of buffer + ((bobp) + 'no-indent) ;; Inside a paren ((setq start (nth 1 ppss)) 'inside-paren)