Stefan Monnier
fe0cb43fb8
* lisp/subr.el (add-hook): Turn append into depth (bug#35508)
...
Make it possible to control the relative ordering of functions on hooks by
specifying `depth` in the same was as was possible with `add-function`.
* lisp/electric.el (electric--sort-post-self-insertion-hook):
Delete function.
(electric-indent-mode, electric-layout-mode, electric-quote-mode):
* lisp/elec-pair.el (electric-pair-mode): Use new `depth` arg instead of
electric--sort-post-self-insertion-hook.
* lisp/emacs-lisp/syntax.el (syntax-propertize, syntax-ppss):
Use new `depth` arg to make sure noone accidentally gets added
after syntax-ppss-flush-cache.
* doc/lispref/modes.texi (Setting Hooks): Document new `depth` arg.
* test/lisp/subr-tests.el (subr-tests-add-hook-depth): New test.
2019-05-29 15:56:14 -04:00
..
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-10 13:27:34 +01:00
2019-05-27 13:25:27 +02:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 18:47:22 -08:00
2019-04-02 21:40:56 -07:00
2019-05-28 19:33:20 -04:00
2019-05-02 10:27:42 -04:00
2019-05-18 16:04:58 +02:00
2019-05-09 06:42:40 -04:00
2019-05-25 14:25:18 -07:00
2019-04-28 16:45:13 -04:00
2019-05-22 18:36:37 -04:00
2018-12-31 18:47:22 -08:00
2019-05-25 14:25:18 -07:00
2018-12-31 17:57:29 -08:00
2019-02-03 23:00:29 +02:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-05-27 17:20:12 -07:00
2019-01-01 01:01:13 +00:00
2019-04-07 03:56:27 +01:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-05-24 07:33:01 -04:00
2019-01-10 13:27:34 +01:00
2019-01-01 01:01:13 +00:00
2019-05-20 15:29:26 +01:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-22 16:42:43 +00:00
2018-12-31 17:57:29 -08:00
2019-01-28 17:24:04 +02:00
2019-01-01 01:01:13 +00:00
2019-05-05 13:34:26 +02:00
2019-05-08 09:13:58 +02:00
2019-03-09 16:44:24 +01:00
2019-05-13 20:41:02 -04:00
2019-05-25 14:25:18 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-04-19 10:31:02 +02:00
2019-04-28 16:45:13 -04:00
2019-05-18 10:01:10 -07:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:15 -07:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-05-29 20:47:16 +02:00
2019-01-01 01:01:13 +00:00
2019-05-25 14:25:18 -07:00
2019-03-20 10:52:30 -04:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-05-26 11:22:27 +02:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-03-31 17:08:21 +01:00
2019-01-01 01:01:13 +00:00
2019-05-25 14:25:18 -07:00
2019-05-29 15:56:14 -04:00
2019-05-26 11:56:57 +01:00
2019-02-03 23:00:29 +02:00
2019-05-21 15:23:23 +01:00
2019-05-07 14:51:42 -04:00
2018-12-31 17:57:29 -08:00
2018-12-31 18:47:22 -08:00
2019-04-25 19:17:23 +02:00
2019-01-01 01:01:13 +00:00
2019-04-07 03:56:27 +01:00
2019-05-25 14:25:18 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00