8

In Emacs Speaks Statistics for R, how can the auto replacement of _ with <- be turned off?

Paul
  • 1,325
  • 2
  • 19
  • 41
momeara
  • 1,341
  • 2
  • 17
  • 29

2 Answers2

13

To stop this smart behaviour, add (ess-toggle-underscore nil) to your .emacs after ess-site has been loaded.

rcs
  • 67,191
  • 22
  • 172
  • 153
3

What rcs said. But pressing _ again will turn the "<-" into "_" when you need it. So, when you need an underscore, just press it twice.

Eduardo Leoni
  • 8,991
  • 6
  • 42
  • 49