Commit 25719495ff38f7783301039448924055cff87efa
- Diff rendering mode:
- inline
- side by side
src/data.c
(0 / 6)
|   | |||
| 808 | 808 | Getting and Setting Values of Symbols | |
| 809 | 809 | ***********************************************************************/ | |
| 810 | 810 | ||
| 811 | Lisp_Object * | ||
| 812 | blocal_getrealvalue (struct Lisp_Buffer_Local_Value *blv) | ||
| 813 | { | ||
| 814 | return &XCDR_AS_LVALUE (ensure_thread_local (&(blv->realvalue))); | ||
| 815 | } | ||
| 816 | |||
| 817 | 811 | /* Retrieve the buffer local data for the caller thread. SYMBOL is used only | |
| 818 | 812 | when the specified buffer local value does not have a binding for the thread | |
| 819 | 813 | and a new one must be created. */ |
src/lisp.h
(1 / 2)
|   | |||
| 1369 | 1369 | Lisp_Object *blocal_get_thread_data (struct Lisp_Buffer_Local_Value *l, | |
| 1370 | 1370 | Lisp_Object sym); | |
| 1371 | 1371 | void blocal_set_thread_data (struct Lisp_Buffer_Local_Value *l, Lisp_Object o); | |
| 1372 | Lisp_Object *blocal_getrealvalue (struct Lisp_Buffer_Local_Value *l); | ||
| 1373 | 1372 | ||
| 1374 | 1373 | #define BLOCAL_CLEAR_FLAGS_VEC(VEC) XSETFASTINT (AREF ((VEC), 0), 0) | |
| 1375 | 1374 | #define BLOCAL_FOUND_FOR_BUFFER_VEC(VEC) ((XFASTINT (AREF ((VEC), 0))) == 1) | |
| … | … | ||
| 1388 | 1388 | #define BLOCAL_BUFFER(A) (BLOCAL_BUFFER_VEC (BLOCAL_THREAD_DATA (A))) | |
| 1389 | 1389 | #define BLOCAL_FRAME(A) (BLOCAL_FRAME_VEC (BLOCAL_THREAD_DATA (A))) | |
| 1390 | 1390 | #define BLOCAL_CDR(A) (BLOCAL_CDR_VEC (BLOCAL_THREAD_DATA (A))) | |
| 1391 | #define BLOCAL_REALVALUE(A) (*blocal_getrealvalue (A)) | ||
| 1391 | #define BLOCAL_REALVALUE(A) (XCDR_AS_LVALUE (ensure_thread_local (&((A)->realvalue)))) | ||
| 1392 | 1392 | ||
| 1393 | 1393 | /* START and END are markers in the overlay's buffer, and | |
| 1394 | 1394 | PLIST is the overlay's property list. */ |

