aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/cl-macs.el3
-rw-r--r--lisp/net/rcirc.el3
-rw-r--r--lisp/progmodes/sh-script.el4
-rw-r--r--src/term.c18
-rw-r--r--src/terminal.c12
5 files changed, 21 insertions, 19 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 0a426d17096..e4a73d1a4de 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2514,7 +2514,8 @@ non-nil value, that slot cannot be set via `setf'.
2514 ',accessor ',name)))) 2514 ',accessor ',name))))
2515 ,(if (eq type 'vector) `(aref cl-x ,pos) 2515 ,(if (eq type 'vector) `(aref cl-x ,pos)
2516 (if (= pos 0) '(car cl-x) 2516 (if (= pos 0) '(car cl-x)
2517 `(nth ,pos cl-x)))) forms) 2517 `(nth ,pos cl-x))))
2518 forms)
2518 (push (cons accessor t) side-eff) 2519 (push (cons accessor t) side-eff)
2519 (if (cadr (memq :read-only (cddr desc))) 2520 (if (cadr (memq :read-only (cddr desc)))
2520 (push `(gv-define-expander ,accessor 2521 (push `(gv-define-expander ,accessor
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 9f2b4bb85db..f06f8bd292e 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -679,7 +679,8 @@ When 0, do not auto-reconnect."
679 (format "%s: %s (%S)" 679 (format "%s: %s (%S)"
680 (process-name process) 680 (process-name process)
681 sentinel 681 sentinel
682 (process-status process)) (not rcirc-target)) 682 (process-status process))
683 (not rcirc-target))
683 (rcirc-disconnect-buffer))) 684 (rcirc-disconnect-buffer)))
684 (when (and (string= sentinel "deleted") 685 (when (and (string= sentinel "deleted")
685 (< 0 rcirc-reconnect-delay)) 686 (< 0 rcirc-reconnect-delay))
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index dd1057ebf8d..3b0550dccca 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -910,7 +910,7 @@ See `sh-feature'.")
910 (:foreground "tan1" )) 910 (:foreground "tan1" ))
911 (t 911 (t
912 (:weight bold))) 912 (:weight bold)))
913 "Face to show a here-document" 913 "Face to show a here-document."
914 :group 'sh-indentation) 914 :group 'sh-indentation)
915 915
916;; These colors are probably icky. It's just a placeholder though. 916;; These colors are probably icky. It's just a placeholder though.
@@ -921,7 +921,7 @@ See `sh-feature'.")
921 (:foreground "magenta")) 921 (:foreground "magenta"))
922 (t 922 (t
923 (:weight bold))) 923 (:weight bold)))
924 "Face to show quoted execs like ``" 924 "Face to show quoted execs like `blabla`."
925 :group 'sh-indentation) 925 :group 'sh-indentation)
926(define-obsolete-face-alias 'sh-heredoc-face 'sh-heredoc "22.1") 926(define-obsolete-face-alias 'sh-heredoc-face 'sh-heredoc "22.1")
927(defvar sh-heredoc-face 'sh-heredoc) 927(defvar sh-heredoc-face 'sh-heredoc)
diff --git a/src/term.c b/src/term.c
index b608ebf0da9..9081790745c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -105,9 +105,9 @@ static _Noreturn void vfatal (const char *str, va_list ap)
105 105
106#define OUTPUT1_IF(tty, a) do { if (a) emacs_tputs ((tty), a, 1, cmputc); } while (0) 106#define OUTPUT1_IF(tty, a) do { if (a) emacs_tputs ((tty), a, 1, cmputc); } while (0)
107 107
108/* Display space properties */ 108/* Display space properties. */
109 109
110/* Chain of all tty device parameters. */ 110/* Chain of all tty device parameters. */
111struct tty_display_info *tty_list; 111struct tty_display_info *tty_list;
112 112
113/* Meaning of bits in no_color_video. Each bit set means that the 113/* Meaning of bits in no_color_video. Each bit set means that the
@@ -4042,10 +4042,10 @@ init_tty (const char *name, const char *terminal_type, bool must_succeed)
4042 open a frame on the same terminal. */ 4042 open a frame on the same terminal. */
4043 int flags = O_RDWR | O_NOCTTY | (ctty ? 0 : O_IGNORE_CTTY); 4043 int flags = O_RDWR | O_NOCTTY | (ctty ? 0 : O_IGNORE_CTTY);
4044 int fd = emacs_open (name, flags, 0); 4044 int fd = emacs_open (name, flags, 0);
4045 tty->input = tty->output = 4045 tty->input = tty->output
4046 ((fd < 0 || ! isatty (fd)) 4046 = ((fd < 0 || ! isatty (fd))
4047 ? NULL 4047 ? NULL
4048 : fdopen (fd, "w+")); 4048 : fdopen (fd, "w+"));
4049 4049
4050 if (! tty->input) 4050 if (! tty->input)
4051 { 4051 {
@@ -4460,7 +4460,7 @@ fatal (const char *str, ...)
4460 4460
4461 4461
4462 4462
4463/* Delete the given tty terminal, closing all frames on it. */ 4463/* Delete the given tty terminal, closing all frames on it. */
4464 4464
4465static void 4465static void
4466delete_tty (struct terminal *terminal) 4466delete_tty (struct terminal *terminal)
@@ -4485,7 +4485,7 @@ delete_tty (struct terminal *terminal)
4485 ; 4485 ;
4486 4486
4487 if (! p) 4487 if (! p)
4488 /* This should not happen. */ 4488 /* This should not happen. */
4489 emacs_abort (); 4489 emacs_abort ();
4490 4490
4491 p->next = tty->next; 4491 p->next = tty->next;
@@ -4493,7 +4493,7 @@ delete_tty (struct terminal *terminal)
4493 } 4493 }
4494 4494
4495 /* reset_sys_modes needs a valid device, so this call needs to be 4495 /* reset_sys_modes needs a valid device, so this call needs to be
4496 before delete_terminal. */ 4496 before delete_terminal. */
4497 reset_sys_modes (tty); 4497 reset_sys_modes (tty);
4498 4498
4499 delete_terminal (terminal); 4499 delete_terminal (terminal);
diff --git a/src/terminal.c b/src/terminal.c
index 23455262cb3..a827677a58d 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -28,13 +28,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28#include "coding.h" 28#include "coding.h"
29#include "keyboard.h" 29#include "keyboard.h"
30 30
31/* Chain of all terminals currently in use. */ 31/* Chain of all terminals currently in use. */
32struct terminal *terminal_list; 32struct terminal *terminal_list;
33 33
34/* The first unallocated terminal id. */ 34/* The first unallocated terminal id. */
35static int next_terminal_id; 35static int next_terminal_id;
36 36
37/* The initial terminal device, created by initial_term_init. */ 37/* The initial terminal device, created by initial_term_init. */
38struct terminal *initial_terminal; 38struct terminal *initial_terminal;
39 39
40static Lisp_Object Qterminal_live_p; 40static Lisp_Object Qterminal_live_p;
@@ -121,9 +121,9 @@ raw_cursor_to (struct frame *f, int row, int col)
121 (*FRAME_TERMINAL (f)->raw_cursor_to_hook) (f, row, col); 121 (*FRAME_TERMINAL (f)->raw_cursor_to_hook) (f, row, col);
122} 122}
123 123
124/* Erase operations */ 124/* Erase operations. */
125 125
126/* Clear from cursor to end of frame. */ 126/* Clear from cursor to end of frame. */
127void 127void
128clear_to_end (struct frame *f) 128clear_to_end (struct frame *f)
129{ 129{
@@ -131,7 +131,7 @@ clear_to_end (struct frame *f)
131 (*FRAME_TERMINAL (f)->clear_to_end_hook) (f); 131 (*FRAME_TERMINAL (f)->clear_to_end_hook) (f);
132} 132}
133 133
134/* Clear entire frame */ 134/* Clear entire frame. */
135 135
136void 136void
137clear_frame (struct frame *f) 137clear_frame (struct frame *f)