diff options
| author | Eli Zaretskii | 2006-11-04 12:21:29 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-11-04 12:21:29 +0000 |
| commit | 06c72792d6a1467f41e422966da32d885fd9cc45 (patch) | |
| tree | 8eea421c72e28901369485680a9a4c32ed6af3f5 /src | |
| parent | 9c9f0081654fdda21744a23dbb5fe17dc55dfc44 (diff) | |
| download | emacs-06c72792d6a1467f41e422966da32d885fd9cc45.tar.gz emacs-06c72792d6a1467f41e422966da32d885fd9cc45.zip | |
(w32_createwindow): Remove code for handling -geometry command line option and
`initial-frame-alist' which is superfluous after the last change to
`w32_createwindow'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index f7e211649e0..269e357f0a8 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -2080,32 +2080,7 @@ w32_createwindow (f) | |||
| 2080 | 2080 | ||
| 2081 | if (!hprevinst) | 2081 | if (!hprevinst) |
| 2082 | { | 2082 | { |
| 2083 | Lisp_Object ifa; | ||
| 2084 | |||
| 2085 | w32_init_class (hinst); | 2083 | w32_init_class (hinst); |
| 2086 | |||
| 2087 | /* Handle the -geometry command line option and the geometry | ||
| 2088 | settings in the registry. They are decoded and put into | ||
| 2089 | initial-frame-alist by w32-win.el:x-handle-geometry. */ | ||
| 2090 | ifa = Fsymbol_value (intern ("initial-frame-alist")); | ||
| 2091 | if (CONSP (ifa)) | ||
| 2092 | { | ||
| 2093 | Lisp_Object lt = Fassq (Qleft, ifa); | ||
| 2094 | Lisp_Object tp = Fassq (Qtop, ifa); | ||
| 2095 | |||
| 2096 | if (!NILP (lt)) | ||
| 2097 | { | ||
| 2098 | lt = XCDR (lt); | ||
| 2099 | if (INTEGERP (lt)) | ||
| 2100 | left = lt; | ||
| 2101 | } | ||
| 2102 | if (!NILP (tp)) | ||
| 2103 | { | ||
| 2104 | tp = XCDR (tp); | ||
| 2105 | if (INTEGERP (tp)) | ||
| 2106 | top = tp; | ||
| 2107 | } | ||
| 2108 | } | ||
| 2109 | } | 2084 | } |
| 2110 | 2085 | ||
| 2111 | if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition) | 2086 | if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition) |