aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-05-28 21:08:28 -0700
committerPaul Eggert2011-05-28 21:08:28 -0700
commit5fbc2025853d54edb763a6d4c24c90173f027ae0 (patch)
treec0f68bf23057a268532c22ee28ee1e518cb75066 /src
parentb1c83d95b3d6d80137a76911581e6531a3376982 (diff)
downloademacs-5fbc2025853d54edb763a6d4c24c90173f027ae0.tar.gz
emacs-5fbc2025853d54edb763a6d4c24c90173f027ae0.zip
* emacs.c [HAVE_X_WINDOWS]: Include "xterm.h".
(x_clipboard_manager_save_all): Move extern decl to ... * xterm.h: ... here, so that it can be checked for consistency.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/emacs.c9
-rw-r--r--src/xterm.h1
3 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6c56b878b01..29d4e75eefd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12011-05-29 Paul Eggert <eggert@cs.ucla.edu>
2
3 * emacs.c [HAVE_X_WINDOWS]: Include "xterm.h".
4 (x_clipboard_manager_save_all): Move extern decl to ...
5 * xterm.h: ... here, so that it can be checked for consistency.
6
12011-05-29 Chong Yidong <cyd@stupidchicken.com> 72011-05-29 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * xselect.c (x_clipboard_manager_save_frame) 9 * xselect.c (x_clipboard_manager_save_frame)
diff --git a/src/emacs.c b/src/emacs.c
index 090fddada5c..cf74963a816 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -65,6 +65,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
65#include "nsterm.h" 65#include "nsterm.h"
66#endif 66#endif
67 67
68#ifdef HAVE_X_WINDOWS
69#include "xterm.h"
70#endif
71
68#ifdef HAVE_SETLOCALE 72#ifdef HAVE_SETLOCALE
69#include <locale.h> 73#include <locale.h>
70#endif 74#endif
@@ -1959,11 +1963,6 @@ sort_args (int argc, char **argv)
1959 xfree (priority); 1963 xfree (priority);
1960} 1964}
1961 1965
1962#ifdef HAVE_X_WINDOWS
1963/* Defined in xselect.c. */
1964extern void x_clipboard_manager_save_all (void);
1965#endif
1966
1967DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P", 1966DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P",
1968 doc: /* Exit the Emacs job and kill it. 1967 doc: /* Exit the Emacs job and kill it.
1969If ARG is an integer, return ARG as the exit program code. 1968If ARG is an integer, return ARG as the exit program code.
diff --git a/src/xterm.h b/src/xterm.h
index 2184794af4e..2938de9b339 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1025,6 +1025,7 @@ extern Lisp_Object x_property_data_to_lisp (struct frame *,
1025 int, 1025 int,
1026 unsigned long); 1026 unsigned long);
1027extern void x_clipboard_manager_save_frame (Lisp_Object); 1027extern void x_clipboard_manager_save_frame (Lisp_Object);
1028extern void x_clipboard_manager_save_all (void);
1028 1029
1029/* Defined in xfns.c */ 1030/* Defined in xfns.c */
1030 1031