##// END OF EJS Templates
Merge pull request #3117 from Carreau/fixautomagic...
Min RK -
r10118:fd8eb91e merge
parent child Browse files
Show More
@@ -2042,7 +2042,7 b' class InteractiveShell(SingletonConfigurable):'
2042 def init_magics(self):
2042 def init_magics(self):
2043 from IPython.core import magics as m
2043 from IPython.core import magics as m
2044 self.magics_manager = magic.MagicsManager(shell=self,
2044 self.magics_manager = magic.MagicsManager(shell=self,
2045 confg=self.config,
2045 config=self.config,
2046 user_magics=m.UserMagics(self))
2046 user_magics=m.UserMagics(self))
2047 self.configurables.append(self.magics_manager)
2047 self.configurables.append(self.magics_manager)
2048
2048
@@ -303,6 +303,9 b' class MagicsManager(Configurable):'
303
303
304 auto_magic = Bool(True, config=True, help=
304 auto_magic = Bool(True, config=True, help=
305 "Automatically call line magics without requiring explicit % prefix")
305 "Automatically call line magics without requiring explicit % prefix")
306
307 def _auto_magic_changed(self, name, value):
308 self.shell.automagic = value
306
309
307 _auto_status = [
310 _auto_status = [
308 'Automagic is OFF, % prefix IS needed for line magics.',
311 'Automagic is OFF, % prefix IS needed for line magics.',
General Comments 0
You need to be logged in to leave comments. Login now