##// 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 2042 def init_magics(self):
2043 2043 from IPython.core import magics as m
2044 2044 self.magics_manager = magic.MagicsManager(shell=self,
2045 confg=self.config,
2045 config=self.config,
2046 2046 user_magics=m.UserMagics(self))
2047 2047 self.configurables.append(self.magics_manager)
2048 2048
@@ -304,6 +304,9 b' class MagicsManager(Configurable):'
304 304 auto_magic = Bool(True, config=True, help=
305 305 "Automatically call line magics without requiring explicit % prefix")
306 306
307 def _auto_magic_changed(self, name, value):
308 self.shell.automagic = value
309
307 310 _auto_status = [
308 311 'Automagic is OFF, % prefix IS needed for line magics.',
309 312 'Automagic is ON, % prefix IS NOT needed for line magics.']
General Comments 0
You need to be logged in to leave comments. Login now