diff options
| author | Juanma Barranquero | 2011-06-24 23:25:22 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-06-24 23:25:22 +0200 |
| commit | cd3520a41df21d80a9d894c58af2daba23c8dd24 (patch) | |
| tree | 945eaef322c65471833954ddce161a7a913ee3c8 /src/textprop.c | |
| parent | 7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff) | |
| download | emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.zip | |
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/textprop.c')
| -rw-r--r-- | src/textprop.c | 54 |
1 files changed, 18 insertions, 36 deletions
diff --git a/src/textprop.c b/src/textprop.c index dd8695f7af8..87f1675047b 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -2242,45 +2242,27 @@ inherits it if NONSTICKINESS is nil. The `front-sticky' and | |||
| 2242 | 2242 | ||
| 2243 | /* Common attributes one might give text */ | 2243 | /* Common attributes one might give text */ |
| 2244 | 2244 | ||
| 2245 | staticpro (&Qforeground); | 2245 | DEFSYM (Qforeground, "foreground"); |
| 2246 | Qforeground = intern_c_string ("foreground"); | 2246 | DEFSYM (Qbackground, "background"); |
| 2247 | staticpro (&Qbackground); | 2247 | DEFSYM (Qfont, "font"); |
| 2248 | Qbackground = intern_c_string ("background"); | 2248 | DEFSYM (Qstipple, "stipple"); |
| 2249 | staticpro (&Qfont); | 2249 | DEFSYM (Qunderline, "underline"); |
| 2250 | Qfont = intern_c_string ("font"); | 2250 | DEFSYM (Qread_only, "read-only"); |
| 2251 | staticpro (&Qstipple); | 2251 | DEFSYM (Qinvisible, "invisible"); |
| 2252 | Qstipple = intern_c_string ("stipple"); | 2252 | DEFSYM (Qintangible, "intangible"); |
| 2253 | staticpro (&Qunderline); | 2253 | DEFSYM (Qcategory, "category"); |
| 2254 | Qunderline = intern_c_string ("underline"); | 2254 | DEFSYM (Qlocal_map, "local-map"); |
| 2255 | staticpro (&Qread_only); | 2255 | DEFSYM (Qfront_sticky, "front-sticky"); |
| 2256 | Qread_only = intern_c_string ("read-only"); | 2256 | DEFSYM (Qrear_nonsticky, "rear-nonsticky"); |
| 2257 | staticpro (&Qinvisible); | 2257 | DEFSYM (Qmouse_face, "mouse-face"); |
| 2258 | Qinvisible = intern_c_string ("invisible"); | 2258 | DEFSYM (Qminibuffer_prompt, "minibuffer-prompt"); |
| 2259 | staticpro (&Qintangible); | ||
| 2260 | Qintangible = intern_c_string ("intangible"); | ||
| 2261 | staticpro (&Qcategory); | ||
| 2262 | Qcategory = intern_c_string ("category"); | ||
| 2263 | staticpro (&Qlocal_map); | ||
| 2264 | Qlocal_map = intern_c_string ("local-map"); | ||
| 2265 | staticpro (&Qfront_sticky); | ||
| 2266 | Qfront_sticky = intern_c_string ("front-sticky"); | ||
| 2267 | staticpro (&Qrear_nonsticky); | ||
| 2268 | Qrear_nonsticky = intern_c_string ("rear-nonsticky"); | ||
| 2269 | staticpro (&Qmouse_face); | ||
| 2270 | Qmouse_face = intern_c_string ("mouse-face"); | ||
| 2271 | staticpro (&Qminibuffer_prompt); | ||
| 2272 | Qminibuffer_prompt = intern_c_string ("minibuffer-prompt"); | ||
| 2273 | 2259 | ||
| 2274 | /* Properties that text might use to specify certain actions */ | 2260 | /* Properties that text might use to specify certain actions */ |
| 2275 | 2261 | ||
| 2276 | staticpro (&Qmouse_left); | 2262 | DEFSYM (Qmouse_left, "mouse-left"); |
| 2277 | Qmouse_left = intern_c_string ("mouse-left"); | 2263 | DEFSYM (Qmouse_entered, "mouse-entered"); |
| 2278 | staticpro (&Qmouse_entered); | 2264 | DEFSYM (Qpoint_left, "point-left"); |
| 2279 | Qmouse_entered = intern_c_string ("mouse-entered"); | 2265 | DEFSYM (Qpoint_entered, "point-entered"); |
| 2280 | staticpro (&Qpoint_left); | ||
| 2281 | Qpoint_left = intern_c_string ("point-left"); | ||
| 2282 | staticpro (&Qpoint_entered); | ||
| 2283 | Qpoint_entered = intern_c_string ("point-entered"); | ||
| 2284 | 2266 | ||
| 2285 | defsubr (&Stext_properties_at); | 2267 | defsubr (&Stext_properties_at); |
| 2286 | defsubr (&Sget_text_property); | 2268 | defsubr (&Sget_text_property); |