aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2019-04-17 09:32:40 -0700
committerGlenn Morris2019-04-17 09:32:40 -0700
commit0797897f34467272b150eba54aa3bbff19e92aa1 (patch)
treede30b455898572def032c92a57955ebc36d2b496
parent41d9004e1cf50aa18720b52c6228b06e35ca96f5 (diff)
parenta1c53d4294550380de76d6a6c4e29e9e8f6f9133 (diff)
downloademacs-0797897f34467272b150eba54aa3bbff19e92aa1.tar.gz
emacs-0797897f34467272b150eba54aa3bbff19e92aa1.zip
Merge from origin/emacs-26
a1c53d4 (origin/emacs-26) * admin/admin.el (make-manuals-dist--1): Up... d0f745f Document some compilation-mode faces 23ccba0 Mention the assignment form in "Copyright Assignment" 0f5568e Fix confusing wording in the user manual 70ec392 Fix the MSDOS build when running under CWSDPMI 7a608fc * lisp/progmodes/python.el: Be more careful about temp file r...
-rw-r--r--admin/admin.el3
-rw-r--r--doc/emacs/building.texi14
-rw-r--r--doc/emacs/maintaining.texi3
-rw-r--r--doc/emacs/trouble.texi7
-rw-r--r--lisp/progmodes/python.el19
-rw-r--r--src/dispnew.c1
-rw-r--r--src/frame.c1
-rw-r--r--src/msdos.c3
-rw-r--r--src/msdos.h1
9 files changed, 37 insertions, 15 deletions
diff --git a/admin/admin.el b/admin/admin.el
index 650cf47b807..d411b97ebbc 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -696,6 +696,7 @@ style=\"text-align:left\">")
696 (if (file-directory-p stem) 696 (if (file-directory-p stem)
697 (delete-directory stem t)) 697 (delete-directory stem t))
698 (make-directory stem) 698 (make-directory stem)
699 (setq stem (file-name-as-directory stem))
699 (copy-file "../doc/misc/texinfo.tex" stem) 700 (copy-file "../doc/misc/texinfo.tex" stem)
700 (unless (equal type "emacs") 701 (unless (equal type "emacs")
701 (copy-file "../doc/emacs/emacsver.texi" stem) 702 (copy-file "../doc/emacs/emacsver.texi" stem)
@@ -718,7 +719,7 @@ style=\"text-align:left\">")
718 (setq ats t) 719 (setq ats t)
719 (message "Unexpanded: %s" (match-string 0))) 720 (message "Unexpanded: %s" (match-string 0)))
720 (if ats (error "Unexpanded configure variables in Makefile?"))) 721 (if ats (error "Unexpanded configure variables in Makefile?")))
721 (write-region nil nil (expand-file-name (format "%s/Makefile" stem)) 722 (write-region nil nil (expand-file-name (format "%sMakefile" stem))
722 nil 'silent)) 723 nil 'silent))
723 (call-process "tar" nil nil nil "-cf" tarfile stem) 724 (call-process "tar" nil nil nil "-cf" tarfile stem)
724 (delete-directory stem t) 725 (delete-directory stem t)
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 78d07b8d39e..518d157e4ee 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -151,6 +151,20 @@ with the mouse (@pxref{Mouse References}), to visit the @dfn{locus} of
151the error message in a separate window. The locus is the specific 151the error message in a separate window. The locus is the specific
152position in a file where that error occurred. 152position in a file where that error occurred.
153 153
154@cindex compilation mode faces
155@vindex compilation-error
156@vindex compilation-warning
157 The appearance of the @file{*compilation*} buffer can be controlled
158by customizing the faces which are used to highlight parts of the
159@file{*compilation*} buffer, e.g., @code{compilation-error} or
160@code{compilation-warning}, for error and warning messages
161respectively. Note that since those faces inherit from the
162@code{error} and @code{warning} faces, it is also possible to
163customize the parent face directly instead.
164
165 Use @w{@kbd{M-x customize-group RET compilation}} to see the entire
166list of customization variables and faces.
167
154@findex compile-goto-error 168@findex compile-goto-error
155@vindex compilation-auto-jump-to-first-error 169@vindex compilation-auto-jump-to-first-error
156 If you change the variable 170 If you change the variable
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index fd0119e98ce..4986c111030 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1093,8 +1093,7 @@ started editing, and asks for confirmation for discarding the changes.
1093If you agree, the fileset is reverted. If you don't want @kbd{C-x v 1093If you agree, the fileset is reverted. If you don't want @kbd{C-x v
1094u} to show a diff, set the variable @code{vc-revert-show-diff} to 1094u} to show a diff, set the variable @code{vc-revert-show-diff} to
1095@code{nil} (you can still view the diff directly with @kbd{C-x v =}; 1095@code{nil} (you can still view the diff directly with @kbd{C-x v =};
1096@pxref{Old Revisions}). Note that @kbd{C-x v u} cannot be reversed 1096@pxref{Old Revisions}).
1097with the usual undo commands (@pxref{Undo}), so use it with care.
1098 1097
1099 On locking-based version control systems, @kbd{C-x v u} leaves files 1098 On locking-based version control systems, @kbd{C-x v u} leaves files
1100unlocked; you must lock again to resume editing. You can also use 1099unlocked; you must lock again to resume editing. You can also use
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi
index 1bdd9fa0141..2fe54878058 100644
--- a/doc/emacs/trouble.texi
+++ b/doc/emacs/trouble.texi
@@ -1400,9 +1400,10 @@ to the FSF@. For the reasons behind this, see
1400@url{https://www.gnu.org/licenses/why-assign.html}. 1400@url{https://www.gnu.org/licenses/why-assign.html}.
1401 1401
1402Copyright assignment is a simple process. Residents of some countries 1402Copyright assignment is a simple process. Residents of some countries
1403can do it entirely electronically. We can help you get started, and 1403can do it entirely electronically. We can help you get started,
1404answer any questions you may have (or point you to the people with the 1404including sending you the forms you should fill, and answer any
1405answers), at the @email{emacs-devel@@gnu.org} mailing list. 1405questions you may have (or point you to the people with the answers),
1406at the @email{emacs-devel@@gnu.org} mailing list.
1406 1407
1407(Please note: general discussion about why some GNU projects ask 1408(Please note: general discussion about why some GNU projects ask
1408for a copyright assignment is off-topic for emacs-devel. 1409for a copyright assignment is off-topic for emacs-devel.
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 5193501f716..eb3e31c4b77 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2303,15 +2303,16 @@ detection and just returns nil."
2303 ;; carriage returns in unbuffered mode. 2303 ;; carriage returns in unbuffered mode.
2304 (let ((inhibit-eol-conversion (getenv "PYTHONUNBUFFERED"))) 2304 (let ((inhibit-eol-conversion (getenv "PYTHONUNBUFFERED")))
2305 (python-shell--save-temp-file code)))) 2305 (python-shell--save-temp-file code))))
2306 ;; Use `process-file' as it is remote-host friendly. 2306 (unwind-protect
2307 (process-file 2307 ;; Use `process-file' as it is remote-host friendly.
2308 interpreter 2308 (process-file
2309 code-file 2309 interpreter
2310 '(t nil) 2310 code-file
2311 nil 2311 '(t nil)
2312 interpreter-arg) 2312 nil
2313 ;; Try to cleanup 2313 interpreter-arg)
2314 (delete-file code-file))) 2314 ;; Try to cleanup
2315 (delete-file code-file))))
2315 (buffer-string))) 2316 (buffer-string)))
2316 (prompts 2317 (prompts
2317 (catch 'prompts 2318 (catch 'prompts
diff --git a/src/dispnew.c b/src/dispnew.c
index ccb08ec1b95..cf3bfaaca41 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6142,6 +6142,7 @@ init_display_interactive (void)
6142 6142
6143 t->reference_count++; 6143 t->reference_count++;
6144#ifdef MSDOS 6144#ifdef MSDOS
6145 f->output_data.tty = &the_only_tty_output;
6145 f->output_data.tty->display_info = &the_only_display_info; 6146 f->output_data.tty->display_info = &the_only_display_info;
6146#else 6147#else
6147 if (f->output_method == output_termcap) 6148 if (f->output_method == output_termcap)
diff --git a/src/frame.c b/src/frame.c
index 192ef4244fb..7e29e69928e 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1118,6 +1118,7 @@ make_terminal_frame (struct terminal *terminal)
1118 f->terminal = terminal; 1118 f->terminal = terminal;
1119 f->terminal->reference_count++; 1119 f->terminal->reference_count++;
1120#ifdef MSDOS 1120#ifdef MSDOS
1121 f->output_data.tty = &the_only_tty_output;
1121 f->output_data.tty->display_info = &the_only_display_info; 1122 f->output_data.tty->display_info = &the_only_display_info;
1122 if (!inhibit_window_system 1123 if (!inhibit_window_system
1123 && (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame)) 1124 && (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame))
diff --git a/src/msdos.c b/src/msdos.c
index 7dd5f5747aa..d13f2304852 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -420,6 +420,9 @@ static unsigned short outside_cursor;
420/* The only display since MS-DOS does not support multiple ones. */ 420/* The only display since MS-DOS does not support multiple ones. */
421struct tty_display_info the_only_display_info; 421struct tty_display_info the_only_display_info;
422 422
423/* The only tty_output, since MS-DOS supports only 1 display. */
424struct tty_output the_only_tty_output;
425
423/* Support for DOS/V (allows Japanese characters to be displayed on 426/* Support for DOS/V (allows Japanese characters to be displayed on
424 standard, non-Japanese, ATs). Only supported for DJGPP v2 and later. */ 427 standard, non-Japanese, ATs). Only supported for DJGPP v2 and later. */
425 428
diff --git a/src/msdos.h b/src/msdos.h
index ff756f8f634..0d15df7a331 100644
--- a/src/msdos.h
+++ b/src/msdos.h
@@ -93,6 +93,7 @@ typedef int XRectangle;
93typedef struct tty_display_info Display_Info; 93typedef struct tty_display_info Display_Info;
94 94
95extern struct tty_display_info the_only_display_info; 95extern struct tty_display_info the_only_display_info;
96extern struct tty_output the_only_tty_output;
96 97
97#define FRAME_X_DISPLAY(f) ((Display *) 0) 98#define FRAME_X_DISPLAY(f) ((Display *) 0)
98#define FRAME_FONT(f) ((f)->output_data.tty->font) 99#define FRAME_FONT(f) ((f)->output_data.tty->font)