Commit 38341c5f authored by Karl Heuer's avatar Karl Heuer
Browse files

(DEFVAR_DISPLAY): Use current_perdisplay, not get_perdisplay.

parent 31c45e79
...@@ -1160,8 +1160,8 @@ extern void defvar_int (); ...@@ -1160,8 +1160,8 @@ extern void defvar_int ();
defvar_per_buffer (lname, vname, type, 0) defvar_per_buffer (lname, vname, type, 0)
#define DEFVAR_DISPLAY(lname, vname, doc) \ #define DEFVAR_DISPLAY(lname, vname, doc) \
defvar_display (lname, \ defvar_display (lname, \
(int)((char *)(&get_perdisplay (selected_frame)->vname) \ (int)((char *)(&current_perdisplay->vname) \
- (char *)get_perdisplay (selected_frame))) - (char *)current_perdisplay))
/* Structure for recording Lisp call stack for backtrace purposes. */ /* Structure for recording Lisp call stack for backtrace purposes. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment