[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH] fix compatibility issue with emacs-24.2
From: |
Jochen Schmitt |
Subject: |
Re: [Help-smalltalk] [PATCH] fix compatibility issue with emacs-24.2 |
Date: |
Fri, 31 May 2013 15:42:47 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, May 29, 2013 at 11:21:49PM +0200, Paolo Bonzini wrote:
> We should check which is available and try the right one.
Ok, here a more enhanced version of the patch attached on this mail.
Best Regards:
Jochen Schmitt
diff -up smalltalk-3.2.5/smalltalk-mode-init.el.in.emx
smalltalk-3.2.5/smalltalk-mode-init.el.in
--- smalltalk-3.2.5/smalltalk-mode-init.el.in.emx 2013-03-23
20:56:26.000000000 +0100
+++ smalltalk-3.2.5/smalltalk-mode-init.el.in 2013-05-31 15:32:37.416661184
+0200
@@ -13,7 +13,9 @@
(push '("\\.st\\'" . smalltalk-mode) auto-mode-alist)
-(push "\\.star\\'" inhibit-first-line-modes-regexps)
+(if (boundp 'inhibit-local-variables-regexps)
+ (push "\\.star\\'" inhibit-local-variables-regexps)
+ (push "\\.star\\'" inhibit-first-line-modes-regexp))
(autoload 'smalltalk-mode "@lispdir@/smalltalk-mode.elc" "" t)
@WITH_EMACS_COMINT_TRUE@(autoload 'gst "@lispdir@/gst-mode.elc" "" t)