Mercurial > emacs
annotate msdos/sed2x.inp @ 108894:ca3bfaa18e56
Make (after keyword) indent-rules more flexible.
* lisp/emacs-lisp/smie.el (smie-indent-offset-after)
(smie-indent-forward-token, smie-indent-backward-token): New functions.
(smie-indent-after-keyword): Use them.
(smie-indent-fixindent): Only applies to the indentation of the BOL.
(smie-indent-keyword): Tweak the black magic.
(smie-indent-comment-continue): Strip comment-continue before use.
(smie-indent-functions): Indent comments before keywords.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 06 Jun 2010 22:10:19 -0400 |
parents | 2a91d2a1b873 |
children | 417b1e4d63cd |
rev | line source |
---|---|
9571 | 1 # -sed2x.inp------------------------------------------------------------ |
2 # Extra configuration script for src/config.h for DesqView/X | |
3 # ---------------------------------------------------------------------- | |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
4 # |
108554
2a91d2a1b873
Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents:
106815
diff
changeset
|
5 # Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
2a91d2a1b873
Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents:
106815
diff
changeset
|
6 # 2009, 2010 Free Software Foundation, Inc. |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
8 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
10 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
11 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
18 # ---------------------------------------------------------------------- |
9571 | 19 /^#undef HAVE_X_WINDOWS *$/s/undef/define/ |
108554
2a91d2a1b873
Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris <rgm@gnu.org>
parents:
106815
diff
changeset
|
20 /^#undef HAVE_WINDOW_SYSTEM *$/s/undef/define/ |
9571 | 21 /^#undef HAVE_X11 *$/s/undef/define/ |
22 /^#undef HAVE_X_MENU *$/s/undef/define/ | |
23 /^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/ | |
24 /^#undef HAVE_XSETWMPROTOCOLS *$/s/undef/define/ | |
25 /^#undef HAVE_SELECT *$/s/undef/define/ | |
52401 | 26 |
27 # arch-tag: 4a41c3ea-eb6c-4e17-8432-307516498e5a |