1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-21 23:50:36 -08:00
emacs/lisp/textmodes
Dmitry Gutov 7e9eef0ffd Consolidate 'widen' calls
* lisp/progmodes/prog-mode.el (prog-indentation-context):
Un-document all elements but the first.
(prog-widen): Remove.
(http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00321.html)

* doc/lispref/text.texi (Mode-Specific Indent): Update.

* lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
Don't call widen.

* lisp/progmodes/python.el
(python-indent-guess-indent-offset)
(python-info-current-defun): Replace prog-widen with widen;
these functions are not called during indentation.
(python-indent-context)
(python-indent--calculate-indentation)
(python-info-dedenter-opening-block-message)
(python-info-line-ends-backslash-p)
(python-info-beginning-of-backslash)
(python-info-continuation-line-p)
(python-info-current-defun): Remove 'widen' calls.

* lisp/indent.el (indent-according-to-mode)
(indent-for-tab-command, indent-region): Move them here.

* lisp/textmodes/mhtml-mode.el (mhtml-indent-line):
Bind prog-indentation-context to one-element list.
2017-12-14 11:18:51 +02:00
..
artist.el
bib-mode.el
bibtex-style.el
bibtex.el
conf-mode.el
css-mode.el Fix completion of colon after CSS property (Bug#29056) 2017-11-02 20:39:39 +01:00
dns-mode.el Support Certification Authority Authorization in dns-mode.el 2017-10-27 16:59:42 +03:00
enriched.el
fill.el
flyspell.el
ispell.el
less-css-mode.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
makeinfo.el
mhtml-mode.el Consolidate 'widen' calls 2017-12-14 11:18:51 +02:00
nroff-mode.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
page-ext.el
page.el
paragraphs.el
picture.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
po.el
refbib.el
refer.el
refill.el
reftex-auc.el
reftex-cite.el
reftex-dcr.el
reftex-global.el
reftex-index.el ; Fix some comment typos 2017-11-03 15:18:32 -04:00
reftex-parse.el
reftex-ref.el ; Fix some comment typos 2017-11-03 15:18:32 -04:00
reftex-sel.el
reftex-toc.el ; Fix some comment typos 2017-11-03 15:18:32 -04:00
reftex-vars.el
reftex.el
remember.el Avoid unnecessary rounding errors in timestamps 2017-10-22 01:07:32 -07:00
rst.el Fix Edebug spec for cl-defun (bug#24255) 2017-10-16 11:09:29 -07:00
sgml-mode.el
table.el
tex-mode.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
texinfmt.el Fix doc typos 2017-10-28 17:10:25 -07:00
texinfo.el
texnfo-upd.el
text-mode.el
tildify.el
two-column.el
underline.el