changeset 10607:76c57a8695b2

(DEFVAR_DISPLAY): New macro.
author Karl Heuer <kwzh@gnu.org>
date Tue, 31 Jan 1995 01:26:37 +0000
parents 97b210b19217
children 894df845ae4f
files src/lisp.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Tue Jan 31 01:26:09 1995 +0000
+++ b/src/lisp.h	Tue Jan 31 01:26:37 1995 +0000
@@ -1149,6 +1149,10 @@
 #define DEFVAR_INT(lname, vname, doc) defvar_int (lname, vname)
 #define DEFVAR_PER_BUFFER(lname, vname, type, doc)  \
  defvar_per_buffer (lname, vname, type, 0)
+#define DEFVAR_DISPLAY(lname, vname, doc) \
+ defvar_display (lname, \
+		 (int)((char *)(get_perdisplay (selected_frame)->vname) \
+		       - (char *)get_perdisplay (selected_frame)))
 
 /* Structure for recording Lisp call stack for backtrace purposes.  */