Fix loading of smie-config rules (Bug#24848)
commita58d0c590a777be98e58cd8c92ee1381e07e9b2d
authorNoam Postavsky <npostavs@gmail.com>
Wed, 30 Aug 2017 23:31:48 +0000 (30 19:31 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 25 Sep 2017 23:39:19 +0000 (25 19:39 -0400)
treea4044cc9b64cd8932cd6afaa1ef7efc7aca900ed
parent3a68dec32730eddfc066b3b9528f4bc63b5fa9f6
Fix loading of smie-config rules (Bug#24848)

* lisp/emacs-lisp/smie.el (smie-config--setter): Use `set-default'
instead of `setq-default'.
(smie-config): Use `custom-initialize-set' instead of
`custom-initialize-default' as the :initialize argument.

* lisp/progmodes/sh-script.el (sh-learn-buffer-indent): Mention that
we call `smie-config-guess' so that the user will have a chance to
find the correct docstring to consult.  Remove hedging comments
regarding use of abnormal hooks.
lisp/emacs-lisp/smie.el
lisp/progmodes/sh-script.el