aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2010-08-16 09:52:32 +0200
committerJan Djärv2010-08-16 09:52:32 +0200
commite45a249b8a63188dd59176ceba94455d8dac4d9c (patch)
tree7b1f14963fbdf1e54b1222134642ab61b516f528 /src
parent8f10c937124072c04a70664204a1846cf24ecc0d (diff)
downloademacs-e45a249b8a63188dd59176ceba94455d8dac4d9c.tar.gz
emacs-e45a249b8a63188dd59176ceba94455d8dac4d9c.zip
Don't define QPRIMARY twice.
* keyboard.h (QPRIMARY): Declare (Bug#6864). * xselect.c: Remove declaration of QPRIMARY (Bug#6864).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/keyboard.h3
-rw-r--r--src/xselect.c2
3 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e5bb506931d..901adadda06 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12010-08-16 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xselect.c: Remove declaration of QPRIMARY (Bug#6864).
4
5 * keyboard.h (QPRIMARY): Declare (Bug#6864).
6
12010-08-16 Chong Yidong <cyd@stupidchicken.com> 72010-08-16 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * keyboard.c (command_loop_1): Avoid setting selection twice, 9 * keyboard.c (command_loop_1): Avoid setting selection twice,
diff --git a/src/keyboard.h b/src/keyboard.h
index 4eb0b654703..a3bb46f4454 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -440,6 +440,9 @@ extern int ignore_mouse_drag_p;
440 440
441extern Lisp_Object Vdouble_click_time; 441extern Lisp_Object Vdouble_click_time;
442 442
443/* The primary selection. */
444extern Lisp_Object QPRIMARY;
445
443/* Forward declaration for prototypes. */ 446/* Forward declaration for prototypes. */
444struct input_event; 447struct input_event;
445 448
diff --git a/src/xselect.c b/src/xselect.c
index b4b2ab22d6c..21684c83088 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -107,7 +107,7 @@ static void initialize_cut_buffers (Display *, Window);
107 107
108#define CUT_BUFFER_SUPPORT 108#define CUT_BUFFER_SUPPORT
109 109
110Lisp_Object QPRIMARY, QSECONDARY, QSTRING, QINTEGER, QCLIPBOARD, QTIMESTAMP, 110Lisp_Object QSECONDARY, QSTRING, QINTEGER, QCLIPBOARD, QTIMESTAMP,
111 QTEXT, QDELETE, QMULTIPLE, QINCR, QEMACS_TMP, QTARGETS, QATOM, QNULL, 111 QTEXT, QDELETE, QMULTIPLE, QINCR, QEMACS_TMP, QTARGETS, QATOM, QNULL,
112 QATOM_PAIR; 112 QATOM_PAIR;
113 113