diff options
| author | Stefan Monnier | 2007-10-10 20:01:26 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-10-10 20:01:26 +0000 |
| commit | c7a4b95b75c99cca2de4cd4207267170cd07846a (patch) | |
| tree | 60637e285513aef35c703468a47316f347b772dc /src | |
| parent | ef651d13148228be6071da2eb49397ceac5a15d4 (diff) | |
| download | emacs-c7a4b95b75c99cca2de4cd4207267170cd07846a.tar.gz emacs-c7a4b95b75c99cca2de4cd4207267170cd07846a.zip | |
* frame.c (Fframe_with_environment): Remove.
(syms_of_frame) <Sframe_with_environment>: Don't declare.
* lisp.h (Fframe_with_environment): Don't declare.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 16 | ||||
| -rw-r--r-- | src/frame.c | 38 | ||||
| -rw-r--r-- | src/lisp.h | 1 |
3 files changed, 10 insertions, 45 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 385fb503af3..995ab26e2c1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-10-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * frame.c (Fframe_with_environment): Remove. | ||
| 4 | (syms_of_frame) <Sframe_with_environment>: Don't declare. | ||
| 5 | * lisp.h (Fframe_with_environment): Don't declare. | ||
| 6 | |||
| 1 | 2007-10-10 Juanma Barranquero <lekktu@gmail.com> | 7 | 2007-10-10 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * indent.c (indent_tabs_mode, last_known_column) | 9 | * indent.c (indent_tabs_mode, last_known_column) |
| @@ -13,13 +19,12 @@ | |||
| 13 | * keyboard.c (kbd_buffer_get_event): Break loop waiting for input | 19 | * keyboard.c (kbd_buffer_get_event): Break loop waiting for input |
| 14 | when there's an unread command event. | 20 | when there's an unread command event. |
| 15 | 21 | ||
| 16 | * frame.c (focus_follows_mouse): Moved here from frame.el to allow | 22 | * frame.c (focus_follows_mouse): Move here from frame.el to allow |
| 17 | window autoselection act appropriately when leaving selected frame. | 23 | window autoselection act appropriately when leaving selected frame. |
| 18 | (syms_of_frame): Initialize focus_follows_mouse. | 24 | (syms_of_frame): Initialize focus_follows_mouse. |
| 19 | * frame.h (focus_follows_mouse): Extern it. | 25 | * frame.h (focus_follows_mouse): Extern it. |
| 20 | * macterm.c (XTread_socket): When focus_follows_mouse is nil | 26 | * macterm.c (XTread_socket): When focus_follows_mouse is nil |
| 21 | make SELECT_WINDOW_EVENT only if we don't leave the selected | 27 | make SELECT_WINDOW_EVENT only if we don't leave the selected frame. |
| 22 | frame. | ||
| 23 | * msdos.c (dos_rawgetc): Likewise. | 28 | * msdos.c (dos_rawgetc): Likewise. |
| 24 | * w32term.c (w32_read_socket): Likewise. | 29 | * w32term.c (w32_read_socket): Likewise. |
| 25 | * xterm.c (handle_one_xevent): Likewise. | 30 | * xterm.c (handle_one_xevent): Likewise. |
| @@ -49,7 +54,7 @@ | |||
| 49 | 54 | ||
| 50 | 2007-10-08 Richard Stallman <rms@gnu.org> | 55 | 2007-10-08 Richard Stallman <rms@gnu.org> |
| 51 | 56 | ||
| 52 | * image.c (our_memory_buffer): Renamed from omfib_buffer. | 57 | * image.c (our_memory_buffer): Rename from omfib_buffer. |
| 53 | 58 | ||
| 54 | 2007-10-08 Richard Stallman <rms@gnu.org> | 59 | 2007-10-08 Richard Stallman <rms@gnu.org> |
| 55 | 60 | ||
| @@ -305,8 +310,7 @@ | |||
| 305 | 310 | ||
| 306 | 2007-09-22 Eli Zaretskii <eliz@gnu.org> | 311 | 2007-09-22 Eli Zaretskii <eliz@gnu.org> |
| 307 | 312 | ||
| 308 | * term.c (DEV_TTY): New macro. Provide a definition for | 313 | * term.c (DEV_TTY): New macro. Provide a definition for MS-Windows. |
| 309 | MS-Windows. | ||
| 310 | (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. | 314 | (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. |
| 311 | (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) | 315 | (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) |
| 312 | (init_tty): Use DEV_TTY instead of "/dev/tty". | 316 | (init_tty): Use DEV_TTY instead of "/dev/tty". |
diff --git a/src/frame.c b/src/frame.c index 3709b00dfd6..866bd3fa94b 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -2608,43 +2608,6 @@ enabled such bindings for that variable with `make-variable-frame-local'. */) | |||
| 2608 | } | 2608 | } |
| 2609 | return Qnil; | 2609 | return Qnil; |
| 2610 | } | 2610 | } |
| 2611 | |||
| 2612 | DEFUN ("frame-with-environment", Fframe_with_environment, Sframe_with_environment, 0, 1, 0, | ||
| 2613 | doc: /* Return the frame that has the environment variable list for FRAME. | ||
| 2614 | |||
| 2615 | The frame-local environment variable list is normally shared between | ||
| 2616 | frames that were created in the same Emacsclient session. The | ||
| 2617 | environment list is stored in a single frame's 'environment parameter; | ||
| 2618 | the other frames' 'environment parameter is set to this frame. This | ||
| 2619 | function follows the chain of 'environment references to reach the | ||
| 2620 | frame that stores the actual local environment list, and returns that | ||
| 2621 | frame. */) | ||
| 2622 | (frame) | ||
| 2623 | Lisp_Object frame; | ||
| 2624 | { | ||
| 2625 | Lisp_Object hare, tortoise; | ||
| 2626 | |||
| 2627 | if (NILP (frame)) | ||
| 2628 | frame = selected_frame; | ||
| 2629 | CHECK_FRAME (frame); | ||
| 2630 | |||
| 2631 | hare = tortoise = get_frame_param (XFRAME (frame), Qenvironment); | ||
| 2632 | while (!NILP (hare) && FRAMEP (hare)) | ||
| 2633 | { | ||
| 2634 | frame = hare; | ||
| 2635 | hare = get_frame_param (XFRAME (hare), Qenvironment); | ||
| 2636 | if (NILP (hare) || !FRAMEP (hare)) | ||
| 2637 | break; | ||
| 2638 | frame = hare; | ||
| 2639 | hare = get_frame_param (XFRAME (hare), Qenvironment); | ||
| 2640 | tortoise = get_frame_param (XFRAME (tortoise), Qenvironment); | ||
| 2641 | if (EQ (hare, tortoise)) | ||
| 2642 | error ("Cyclic frame-local environment indirection"); | ||
| 2643 | } | ||
| 2644 | |||
| 2645 | return frame; | ||
| 2646 | } | ||
| 2647 | |||
| 2648 | 2611 | ||
| 2649 | DEFUN ("frame-char-height", Fframe_char_height, Sframe_char_height, | 2612 | DEFUN ("frame-char-height", Fframe_char_height, Sframe_char_height, |
| 2650 | 0, 1, 0, | 2613 | 0, 1, 0, |
| @@ -4548,7 +4511,6 @@ automatically. */); | |||
| 4548 | defsubr (&Sframe_parameters); | 4511 | defsubr (&Sframe_parameters); |
| 4549 | defsubr (&Sframe_parameter); | 4512 | defsubr (&Sframe_parameter); |
| 4550 | defsubr (&Smodify_frame_parameters); | 4513 | defsubr (&Smodify_frame_parameters); |
| 4551 | defsubr (&Sframe_with_environment); | ||
| 4552 | defsubr (&Sframe_char_height); | 4514 | defsubr (&Sframe_char_height); |
| 4553 | defsubr (&Sframe_char_width); | 4515 | defsubr (&Sframe_char_width); |
| 4554 | defsubr (&Sframe_pixel_height); | 4516 | defsubr (&Sframe_pixel_height); |
diff --git a/src/lisp.h b/src/lisp.h index 43daded691a..55ca36d5c61 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3043,7 +3043,6 @@ EXFUN (Fvisible_frame_list, 0); | |||
| 3043 | EXFUN (Fframe_parameter, 2); | 3043 | EXFUN (Fframe_parameter, 2); |
| 3044 | EXFUN (Fframe_parameters, 1); | 3044 | EXFUN (Fframe_parameters, 1); |
| 3045 | EXFUN (Fmodify_frame_parameters, 2); | 3045 | EXFUN (Fmodify_frame_parameters, 2); |
| 3046 | EXFUN (Fframe_with_environment, 1); | ||
| 3047 | EXFUN (Fset_frame_height, 3); | 3046 | EXFUN (Fset_frame_height, 3); |
| 3048 | EXFUN (Fset_frame_width, 3); | 3047 | EXFUN (Fset_frame_width, 3); |
| 3049 | EXFUN (Fset_frame_size, 3); | 3048 | EXFUN (Fset_frame_size, 3); |