-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates snapshot to core24 Signed-off-by: Alex Murray <murray.alex@gmail.com>
- Loading branch information
Showing
10 changed files
with
632 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
diff --git a/lisp/term/pgtk-win.el b/lisp/term/pgtk-win.el | ||
index 2e03e7f57a5..a816224b703 100644 | ||
--- a/lisp/term/pgtk-win.el | ||
+++ b/lisp/term/pgtk-win.el | ||
@@ -116,7 +116,7 @@ DISPLAY is the name of the display Emacs should connect to." | ||
(when (boundp 'x-resource-name) | ||
(unless (stringp x-resource-name) | ||
(let (i) | ||
- (setq x-resource-name (copy-sequence invocation-name)) | ||
+ (setq x-resource-name (copy-sequence "emacs")) | ||
|
||
;; Change any . or * characters in x-resource-name to hyphens, | ||
;; so as not to choke when we use it in X resource queries. | ||
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el | ||
index 98dd576fea2..ac1fae6d600 100644 | ||
--- a/lisp/term/x-win.el | ||
+++ b/lisp/term/x-win.el | ||
@@ -1231,7 +1231,7 @@ This returns an error if any Emacs frames are X frames." | ||
;; Make sure we have a valid resource name. | ||
(or (stringp x-resource-name) | ||
(let (i) | ||
- (setq x-resource-name (copy-sequence invocation-name)) | ||
+ (setq x-resource-name (copy-sequence "emacs")) | ||
|
||
;; Change any . or * characters in x-resource-name to hyphens, | ||
;; so as not to choke when we use it in X resource queries. | ||
diff --git a/src/pgtkfns.c b/src/pgtkfns.c | ||
index 5f806e18090..abfc239a2c5 100644 | ||
--- a/src/pgtkfns.c | ||
+++ b/src/pgtkfns.c | ||
@@ -155,7 +155,7 @@ pgtk_display_info_for_name (Lisp_Object name) | ||
} | ||
|
||
/* Use this general default value to start with. */ | ||
- Vx_resource_name = Vinvocation_name; | ||
+ Vx_resource_name = build_string ("emacs"); | ||
|
||
validate_x_resource_name (); | ||
|
||
@@ -1218,7 +1218,7 @@ This function is an internal primitive--use `make-frame' instead. */ ) | ||
|
||
/* Use this general default value to start with | ||
until we know if this frame has a specified name. */ | ||
- Vx_resource_name = Vinvocation_name; | ||
+ Vx_resource_name = build_string("emacs"); | ||
|
||
display = | ||
gui_display_get_arg (dpyinfo, parms, Qterminal, 0, 0, RES_TYPE_NUMBER); | ||
diff --git a/src/xfns.c b/src/xfns.c | ||
index 5a618908be1..19343ea8f82 100644 | ||
--- a/src/xfns.c | ||
+++ b/src/xfns.c | ||
@@ -4629,7 +4629,7 @@ This function is an internal primitive--use `make-frame' instead. */) | ||
|
||
/* Use this general default value to start with | ||
until we know if this frame has a specified name. */ | ||
- Vx_resource_name = Vinvocation_name; | ||
+ Vx_resource_name = build_string ("emacs"); | ||
|
||
display = gui_display_get_arg (dpyinfo, parms, Qterminal, 0, 0, | ||
RES_TYPE_NUMBER); | ||
@@ -7281,7 +7281,7 @@ x_display_info_for_name (Lisp_Object name) | ||
return dpyinfo; | ||
|
||
/* Use this general default value to start with. */ | ||
- Vx_resource_name = Vinvocation_name; | ||
+ Vx_resource_name = build_string ("emacs"); | ||
|
||
validate_x_resource_name (); | ||
|
||
diff --git a/src/xterm.c b/src/xterm.c | ||
index 524e2a32574..b30ff50f97c 100644 | ||
--- a/src/xterm.c | ||
+++ b/src/xterm.c | ||
@@ -29489,7 +29489,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) | ||
argv[argc] = 0; | ||
|
||
argc = 0; | ||
- argv[argc++] = initial_argv[0]; | ||
+ argv[argc++] = "emacs"; | ||
|
||
if (! NILP (display_name)) | ||
{ | ||
@@ -29514,6 +29514,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) | ||
/* gtk_init does set_locale. Fix locale before and after. */ | ||
fixup_locale (); | ||
unrequest_sigio (); /* See comment in x_display_ok. */ | ||
+ g_set_prgname ("emacs"); | ||
gtk_init (&argc, &argv2); | ||
request_sigio (); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
setup-env: setup-env.c | ||
gcc setup-env.c -o setup-env | ||
|
||
install: setup-env | ||
install -m 755 setup-env $(DESTDIR)/ |
Oops, something went wrong.