From 9ddf3c74c8c1d4eb255f374852018a31fcd21753 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Thu, 14 Jun 2012 22:33:57 -0300 Subject: [PATCH] * lisp/progmodes/python.el: (python-indent, python-guess-indent, python-use-skeletons): New obsolete variable aliases. (python-indent-guess-indent-offset): Make interactive. --- lisp/progmodes/python.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 4fa8dff2a72..9bf89840e92 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -547,6 +547,12 @@ It makes underscores and dots word constituent chars.") :group 'python :safe 'booleanp) +(define-obsolete-variable-alias + 'python-indent 'python-indent-offset "24.2") + +(define-obsolete-variable-alias + 'python-guess-indent 'python-indent-guess-indent-offset "24.2") + (defvar python-indent-current-level 0 "Current indentation level `python-indent-line-function' is using.") @@ -560,6 +566,7 @@ These make `python-indent-calculate-indentation' subtract the value of (defun python-indent-guess-indent-offset () "Guess and set `python-indent-offset' for the current buffer." + (interactive) (save-excursion (save-restriction (widen) @@ -2117,6 +2124,9 @@ the if condition." :group 'python :safe 'booleanp) +(define-obsolete-variable-alias + 'python-use-skeletons 'python-skeleton-autoinsert "24.2") + (defvar python-skeleton-available '() "Internal list of available skeletons.") -- 2.11.4.GIT