1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
emacs/lisp/textmodes
Simen Heggestøyl 6ddcb0f10f Support completion of classes and IDs in CSS mode
* lisp/textmodes/css-mode.el (css-class-list-function): New variable
holding the function to call for retrieving completions of class
names.
(css-id-list-function): New variable holding the function to call for
retrieving completions of IDs.
(css--foreign-completions): New function for retrieving completions
from other buffers.
(css--complete-selector): Support completing HTML class names and IDs
from other buffers in addition to completing HTML tags.

* lisp/textmodes/sgml-mode.el (html--buffer-classes-cache): New
variable holding a cache for `html-current-buffer-classes'.
(html--buffer-ids-cache): New variable holding a cache for
`html-current-buffer-ids'.
(html-current-buffer-classes): New function returning a list of class
names used in the current buffer.
(html-current-buffer-ids): New function returning a list of IDs used
in the current buffer.
(html-mode): Set `css-class-list-function' and `css-id-list-function'
to `html-current-buffer-classes' and `html-current-buffer-ids'
respectively.
2016-09-24 13:55:36 +02:00
..
artist.el
bib-mode.el
bibtex-style.el
bibtex.el
conf-mode.el
css-mode.el Support completion of classes and IDs in CSS mode 2016-09-24 13:55:36 +02:00
dns-mode.el
enriched.el
fill.el Have `M-q' not mark buffers are changed when they haven't 2016-03-28 19:08:50 +02:00
flyspell.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
ispell.el Prefer grep -E/-F to egrep/fgrep 2016-05-07 18:40:55 -07:00
makeinfo.el
nroff-mode.el
page-ext.el * lisp/textmodes/page-ext.el (pages-directory-mode): Use special-mode. 2016-08-27 14:17:20 -04:00
page.el Fix "Beginning of buffer" error in forward-page 2016-04-07 21:42:40 +08:00
paragraphs.el
picture.el Fix picture-mode wrt double-width characters 2016-03-21 17:05:54 -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
reftex-parse.el
reftex-ref.el - 2016-01-30 11:28:37 -08:00
reftex-sel.el
reftex-toc.el
reftex-vars.el Expunge "allow" + infinitive from source and doc, part 2. 2016-01-25 12:35:15 +00:00
reftex.el ; Auto-commit of loaddefs files. 2016-01-23 07:22:26 -05:00
remember.el
rst.el Spelling and minor grammar fixes 2016-08-05 13:35:13 -07:00
sgml-mode.el Support completion of classes and IDs in CSS mode 2016-09-24 13:55:36 +02:00
table.el lisp/textmodes/table.el (table-generate-source): Fix completing-read call 2016-08-18 16:11:56 +02:00
tex-mode.el Fix prettification of \phi, \varphi, and \varsigma 2016-08-30 19:51:33 +02:00
texinfmt.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
texinfo.el Fix breakage from previous change. 2016-06-28 15:49:48 -04:00
texnfo-upd.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
text-mode.el
tildify.el
two-column.el
underline.el