diff options
| author | Jan Djärv | 2012-09-19 08:47:01 +0200 |
|---|---|---|
| committer | Jan Djärv | 2012-09-19 08:47:01 +0200 |
| commit | e543ae9174064c2820a4b9fe5ce30c9963afeb0b (patch) | |
| tree | b02f59b0019fb49f4c250bc06c75e312c45c0df3 /lisp | |
| parent | 2fd5e67d925be2b5fc945be5aaba27904cc65022 (diff) | |
| download | emacs-e543ae9174064c2820a4b9fe5ce30c9963afeb0b.tar.gz emacs-e543ae9174064c2820a4b9fe5ce30c9963afeb0b.zip | |
* lisp/startup.el (command-line-ns-option-alist): Add -g and --geometry.
* src/frame.c (read_integer, XParseGeometry): Moved from w32xfns.c.
(Fx_parse_geometry): If there is a space in string, call
Qns_parse_geometry, otherwise do as on other terms.
* src/w32xfns.c (read_integer, XParseGeometry): Move to frame.c.
* src/nsfns.m (XParseGeometry): Remove.
(Fx_create_frame): Call x_set_offset to correctly interpret
top_pos in geometry.
Fixes: debbugs:12368
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/startup.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8036e819d4d..da45cadba46 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-09-19 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * startup.el (command-line-ns-option-alist): Add -g and --geometry. | ||
| 4 | |||
| 1 | 2012-09-18 Juri Linkov <juri@jurta.org> | 5 | 2012-09-18 Juri Linkov <juri@jurta.org> |
| 2 | 6 | ||
| 3 | * dired-aux.el (dired-diff): Restore original functionality of | 7 | * dired-aux.el (dired-diff): Restore original functionality of |
diff --git a/lisp/startup.el b/lisp/startup.el index db5efb89eed..243c9621752 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -216,8 +216,8 @@ and VALUE is the value which is given to that frame parameter | |||
| 216 | ("-fn" 1 x-handle-switch font) | 216 | ("-fn" 1 x-handle-switch font) |
| 217 | ("-font" 1 x-handle-switch font) | 217 | ("-font" 1 x-handle-switch font) |
| 218 | ("-ib" 1 x-handle-numeric-switch internal-border-width) | 218 | ("-ib" 1 x-handle-numeric-switch internal-border-width) |
| 219 | ;;("-g" . x-handle-geometry) | 219 | ("-g" 1 x-handle-geometry) |
| 220 | ;;("-geometry" . x-handle-geometry) | 220 | ("-geometry" 1 x-handle-geometry) |
| 221 | ("-fg" 1 x-handle-switch foreground-color) | 221 | ("-fg" 1 x-handle-switch foreground-color) |
| 222 | ("-foreground" 1 x-handle-switch foreground-color) | 222 | ("-foreground" 1 x-handle-switch foreground-color) |
| 223 | ("-bg" 1 x-handle-switch background-color) | 223 | ("-bg" 1 x-handle-switch background-color) |