Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    There is no point in using setq instead of add-hook IMHO Commented May 12, 2016 at 16:30
  • You are probably right. I don't have any hooks in my setup so I tested it with a "setq" and it worked. I only found the function required by browsing the code Commented May 12, 2016 at 16:32
  • I have replaced setq with add-hook. Commented Jan 31, 2017 at 15:37