Skip to main content
4 events
when toggle format what by license comment
Jun 14, 2016 at 21:41 vote accept Sagar Jha
Jun 14, 2016 at 5:05 comment added phils Avoiding unwanted side-effects is a common reason. e.g. a command which automatically pushes to the mark ring as an interactive convenience before moving point would generally be inappropriate to call in non-interactive save-excursion-wrapped code.
Jun 14, 2016 at 3:51 comment added mike Absolutely. Most (nearly all) of the time you'll just want to use the function that seems most obvious. If you're starting out writing functions in Emacs Lisp, try recording a Macro and then peeking inside it. I believe that these comments about using other functions are just tips/advice: it's not wrong to use them, even if the comment says it is, there's just probably a more efficient way.
Jun 13, 2016 at 22:24 history answered phils CC BY-SA 3.0