1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00
emacs/test
Karl Fogel 8726de6663 Finish excising electric indent from `open-line'
* lisp/simple.el (open-line): Remove INTERACTIVE argument.

* test/automated/simple-test.el (open-line-indent, open-line-hook):
  Adjust accordingly.

This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
(git commit c59353896) started.  It turns out that having INTERACTIVE
cause `post-self-insert-hook' to run (via `newline') meant `open-line'
still had the electric indent behavior, as `post-self-insert-hook'
normally contains `electric-indent-post-self-insert-function' ever
since `electric-indent-mode' has been on by default.  Tracing the code
change in `open-line' is mildly twisty, because Artur Malabarba's
earliest two commits of 24 Oct 2015 first removed the `interactive'
form entirely (git commit 6939896e2) and then restored it with the new
extra "p" already added (git commit bd4f04f86), such that there is no
single-commit diff in which one sees the second "p" appear.  Thus this
change is effectively a reversion of parts of each of those commits.

This could close bug#21884, at least until further discussion.
2015-11-21 22:50:14 -06:00
..
automated Finish excising electric indent from `open-line' 2015-11-21 22:50:14 -06:00
cedet Spelling fixes 2015-02-21 20:01:05 -08:00
etags Spelling fixes 2015-11-10 10:23:00 -08:00
indent Add JSX indentation via js-jsx-mode. (Bug#21799) 2015-10-31 13:02:36 -07:00
BidiCharacterTest.txt Update data files from just-released Unicode 8.0 2015-06-18 11:14:13 +03:00
biditest.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.1 ; Convert ChangeLog history files to "Bug#NNNN" 2015-04-18 19:48:24 -07:00
README Mention etc/compilation.txt 2009-07-26 15:59:37 +00:00
redisplay-testsuite.el ; Remove accidentally duplicated redisplay test. 2015-08-08 18:54:10 +03:00
rmailmm.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00

This directory contains files intended to test various aspects of
Emacs's functionality.  Please help add tests!

(Also, see etc/compilation.txt for compilation mode font lock tests.)