org-mode/etc
Kévin Le Gouguec d3e6b58004 Make RET and C-j obey `electric-indent-mode'
* lisp/org-compat.el (org-return-indent): Deprecate this command.
* lisp/org-keys.el (org-mode-map): Rebind C-j to a command emulating
`electric-newline-and-maybe-indent'.
* lisp/org.el (org-cdlatex-environment-indent): Stop using the now
obsolete function.
(org--newline): New helper function.
(org-return): Use it to transparently handle `electric-indent-mode'.
(org-return-and-maybe-indent): New command to emulate
`electric-newline-and-maybe-indent' while taking care of Org special
cases (tables, links, timestamps).
* testing/lisp/test-org.el (test-org/with-electric-indent,
test-org/without-electric-indent): New tests.
* testing/org-test.el (org-test-with-minor-mode): New helper to set a
minor mode to a specific state, and reset it afterward.
2020-05-07 12:14:30 +02:00
..
schema Clean up spacing to pass Emacs's pre-commit check 2017-06-22 13:31:04 -04:00
styles Update copyright year to 2020 2020-01-01 13:38:46 -05:00
Makefile move schema files to etc/ and modify makefile to install them into $(datadir) 2012-04-20 21:04:12 +02:00
ORG-NEWS Make RET and C-j obey `electric-indent-mode' 2020-05-07 12:14:30 +02:00