summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/term/x-win.el1
-rw-r--r--src/dired.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 30f5fa9b2e3..99b99c4ef1b 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -634,6 +634,7 @@ This returns ARGS with the arguments that have been processed removed."
;; the display.
(set-input-mode t nil t)
+(setq screen-creation-function 'x-create-screen)
(x-read-resources)
(setq command-line-args (x-handle-args command-line-args))
(x-pop-initial-window)
diff --git a/src/dired.c b/src/dired.c
index feb68ed0506..0cdc062c699 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -53,7 +53,6 @@ extern struct direct *readdir ();
#include "commands.h"
#include "regex.h"
-#include "search.h"
#define min(a, b) ((a) < (b) ? (a) : (b))