unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master d6ea645: Fix alignement rule for CSS
       [not found] ` <E1apMye-00058G-Rb@vcs.savannah.gnu.org>
@ 2016-04-11  0:21   ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2016-04-11  0:21 UTC (permalink / raw)
  To: emacs-devel; +Cc: Etienne Prud'homme

> --- a/lisp/align.el
> +++ b/lisp/align.el
> @@ -577,7 +577,7 @@ The possible settings for `align-region-separate' are:
>  		     (eq '- current-prefix-arg)))))
 
>      (css-declaration
> -     (regexp . "^\\s-*\\w+:\\(\\s-*\\).*;")
> +     (regexp . "^\\s-*\\(?:\\w-?\\)+:\\(\\s-*\\).*;")
>       (group . (1))
>       (modes . '(css-mode html-mode))))
>    "A list describing all of the available alignment rules.

BTW, I think, as is the case for font-lock, indent, imenu, and friends,
the align settings should belong in the major mode's definition rather
in align.el.


        Stefan



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-11  0:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160410213304.19687.66901@vcs.savannah.gnu.org>
     [not found] ` <E1apMye-00058G-Rb@vcs.savannah.gnu.org>
2016-04-11  0:21   ` [Emacs-diffs] master d6ea645: Fix alignement rule for CSS Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).