aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2024-01-28 16:59:50 +0100
committerStefan Kangas2024-01-28 17:11:51 +0100
commit71b5d5a9799a37948b2e8cca125a59e2bfb71e96 (patch)
tree99d0be2f09a10eac15f453502e0e3c767a6b07ce /src
parent6ebd5aa33765d6d3ffec96f9965d004ad539098e (diff)
downloademacs-71b5d5a9799a37948b2e8cca125a59e2bfb71e96.tar.gz
emacs-71b5d5a9799a37948b2e8cca125a59e2bfb71e96.zip
; Fix typos
Diffstat (limited to 'src')
-rw-r--r--src/eval.c4
-rw-r--r--src/xdisp.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index c995183ceb8..6f1c39ffb0e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1377,7 +1377,7 @@ DEFUN ("handler-bind-1", Fhandler_bind_1, Shandler_bind_1, 1, MANY, 0,
1377 doc: /* Setup error handlers around execution of BODYFUN. 1377 doc: /* Setup error handlers around execution of BODYFUN.
1378BODYFUN be a function and it is called with no arguments. 1378BODYFUN be a function and it is called with no arguments.
1379CONDITIONS should be a list of condition names (symbols). 1379CONDITIONS should be a list of condition names (symbols).
1380When an error is signaled during executon of BODYFUN, if that 1380When an error is signaled during execution of BODYFUN, if that
1381error matches one of CONDITIONS, then the associated HANDLER is 1381error matches one of CONDITIONS, then the associated HANDLER is
1382called with the error as argument. 1382called with the error as argument.
1383HANDLER should either transfer the control via a non-local exit, 1383HANDLER should either transfer the control via a non-local exit,
@@ -1392,7 +1392,7 @@ usage: (handler-bind BODYFUN [CONDITIONS HANDLER]...) */)
1392 Lisp_Object bodyfun = args[0]; 1392 Lisp_Object bodyfun = args[0];
1393 int count = 0; 1393 int count = 0;
1394 if (nargs % 2 == 0) 1394 if (nargs % 2 == 0)
1395 error ("Trailing CONDITIONS withount HANDLER in `handler-bind`"); 1395 error ("Trailing CONDITIONS without HANDLER in `handler-bind`");
1396 for (ptrdiff_t i = nargs - 2; i > 0; i -= 2) 1396 for (ptrdiff_t i = nargs - 2; i > 0; i -= 2)
1397 { 1397 {
1398 Lisp_Object conditions = args[i], handler = args[i + 1]; 1398 Lisp_Object conditions = args[i], handler = args[i + 1];
diff --git a/src/xdisp.c b/src/xdisp.c
index e69336d5abe..19f176459c7 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -30956,7 +30956,7 @@ draw_glyphs (struct window *w, int x, struct glyph_row *row,
30956 30956
30957#ifdef HAVE_RSVG 30957#ifdef HAVE_RSVG
30958 /* Update SVG image glyphs with mouse face features. FIXME: it 30958 /* Update SVG image glyphs with mouse face features. FIXME: it
30959 should be possible to have this behaviour with transparent 30959 should be possible to have this behavior with transparent
30960 background PNG. */ 30960 background PNG. */
30961 if (hl == DRAW_MOUSE_FACE) 30961 if (hl == DRAW_MOUSE_FACE)
30962 { 30962 {