projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0ed73
)
; python.el: Emacs 24.x compatibility fixes
author
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Wed, 12 Aug 2015 02:56:25 +0000
(23:56 -0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Wed, 12 Aug 2015 02:56:25 +0000
(23:56 -0300)
* lisp/progmodes/python.el: Provide compatibility alternatives for
prog-widen and prog-first-column.
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 95814fabca3b9e178c0f3a8294fe73cc3fc32710..0b7b9b7f5019e9015e5a7d27c41735684177bc3d 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-282,6
+282,18
@@
:version "24.3"
:link '(emacs-commentary-link "python"))
+
+;;; 24.x Compat
+
\f
+
+(unless (fboundp 'prog-widen)
+ (defun prog-widen ()
+ (widen)))
+
+(unless (fboundp 'prog-first-column)
+ (defun prog-first-column ()
+ 0))
+
\f
;;; Bindings