aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2018-02-17 07:50:28 -0800
committerGlenn Morris2018-02-17 07:50:28 -0800
commit4fa90ff8f5fda54fc42049c990c52d3e5236fbe6 (patch)
tree6c0a7893b3aab0166b35938338fa289c3a01df74 /src
parentcb3863370cbe574810f796726faa39ba0de0a429 (diff)
parente5a29330aae4491fd384bacaff6f453c6434d322 (diff)
downloademacs-4fa90ff8f5fda54fc42049c990c52d3e5236fbe6.tar.gz
emacs-4fa90ff8f5fda54fc42049c990c52d3e5236fbe6.zip
Merge from origin/emacs-26
e5a2933 (origin/emacs-26) lisp/vc/: documentation fixes f21f8e6 Document 'desktop-files-not-to-save' d8917eb Improve documentation of Profiling features b228839 Improve indexing of "performance" in ELisp manual ab67b3e Minor change in Emacs manual's VC chapter c352434 Avoid memory corruption with specpdl overflow + edebug (Bug#3... 593bbda Document comment-fill-column in the manual (Bug#11636) bd4cc8d * doc/emacs/dired.texi (Marks vs Flags): Copyedits. 69107f3 ; Fix doc typos related to indefinite articles aaad1e6 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac... 5906418 More fixes for the Emacs manual 9ab3df1 ; Fix doc typos related to indefinite articles 66a4e65 ; Fix doc typos related to indefinite articles 35e5c57 ; Fix doc typos related to indefinite articles
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit2
-rw-r--r--src/character.c2
-rw-r--r--src/character.h2
-rw-r--r--src/charset.c2
-rw-r--r--src/coding.c4
-rw-r--r--src/dbusbind.c2
-rw-r--r--src/eval.c5
-rw-r--r--src/image.c2
-rw-r--r--src/inotify.c2
-rw-r--r--src/keymap.c2
-rw-r--r--src/process.c2
-rw-r--r--src/regex.c2
-rw-r--r--src/syntax.c2
-rw-r--r--src/xdisp.c2
-rw-r--r--src/xsettings.c2
15 files changed, 19 insertions, 16 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 9fdcaf86611..eb4d57a5fbb 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -564,7 +564,7 @@ define pgi
564end 564end
565document pgi 565document pgi
566Pretty print glyph structure glyph[I]. 566Pretty print glyph structure glyph[I].
567Takes one argument, a integer I. 567Takes one argument, an integer I.
568end 568end
569 569
570define pgn 570define pgn
diff --git a/src/character.c b/src/character.c
index 4a934c7801c..6a689808043 100644
--- a/src/character.c
+++ b/src/character.c
@@ -983,7 +983,7 @@ alphabeticp (int c)
983 || gen_cat == UNICODE_CATEGORY_Nl); 983 || gen_cat == UNICODE_CATEGORY_Nl);
984} 984}
985 985
986/* Return true if C is a alphabetic or decimal-number character. */ 986/* Return true if C is an alphabetic or decimal-number character. */
987bool 987bool
988alphanumericp (int c) 988alphanumericp (int c)
989{ 989{
diff --git a/src/character.h b/src/character.h
index d9e2d7bfc67..1e420ba54cb 100644
--- a/src/character.h
+++ b/src/character.h
@@ -695,7 +695,7 @@ INLINE int
695char_table_translate (Lisp_Object obj, int ch) 695char_table_translate (Lisp_Object obj, int ch)
696{ 696{
697 /* This internal function is expected to be called with valid arguments, 697 /* This internal function is expected to be called with valid arguments,
698 so there is a eassert instead of CHECK_xxx for the sake of speed. */ 698 so there is an eassert instead of CHECK_xxx for the sake of speed. */
699 eassert (CHAR_VALID_P (ch)); 699 eassert (CHAR_VALID_P (ch));
700 eassert (CHAR_TABLE_P (obj)); 700 eassert (CHAR_TABLE_P (obj));
701 obj = CHAR_TABLE_REF (obj, ch); 701 obj = CHAR_TABLE_REF (obj, ch);
diff --git a/src/charset.c b/src/charset.c
index cc61300b6bd..05290e86b4e 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -2332,7 +2332,7 @@ init_charset_once (void)
2332 Don't make the value so small that the table is reallocated during 2332 Don't make the value so small that the table is reallocated during
2333 bootstrapping, as glibc malloc calls larger than just under 64 KiB 2333 bootstrapping, as glibc malloc calls larger than just under 64 KiB
2334 during an initial bootstrap wreak havoc after dumping; see the 2334 during an initial bootstrap wreak havoc after dumping; see the
2335 M_MMAP_THRESHOLD value in alloc.c, plus there is a extra overhead 2335 M_MMAP_THRESHOLD value in alloc.c, plus there is an extra overhead
2336 internal to glibc malloc and perhaps to Emacs malloc debugging. */ 2336 internal to glibc malloc and perhaps to Emacs malloc debugging. */
2337static struct charset charset_table_init[180]; 2337static struct charset charset_table_init[180];
2338 2338
diff --git a/src/coding.c b/src/coding.c
index 901f806e44b..a16142a9b41 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -252,7 +252,7 @@ decode_coding_XXXX (struct coding_system *coding)
252 CODING_RESULT_XXX indicating how the encoding finished. 252 CODING_RESULT_XXX indicating how the encoding finished.
253 253
254 DST_BYTES zero means that source area and destination area are 254 DST_BYTES zero means that source area and destination area are
255 overlapped, which means that we can produce a encoded text until it 255 overlapped, which means that we can produce an encoded text until it
256 reaches at the head of not-yet-encoded source text. 256 reaches at the head of not-yet-encoded source text.
257 257
258 Below is a template of these functions. */ 258 Below is a template of these functions. */
@@ -3973,7 +3973,7 @@ decode_coding_iso_2022 (struct coding_system *coding)
3973 /* Reset the invocation and designation status to the safest 3973 /* Reset the invocation and designation status to the safest
3974 one; i.e. designate ASCII to the graphic register 0, and 3974 one; i.e. designate ASCII to the graphic register 0, and
3975 invoke that register to the graphic plane 0. This typically 3975 invoke that register to the graphic plane 0. This typically
3976 helps the case that an designation sequence for ASCII "ESC ( 3976 helps the case that a designation sequence for ASCII "ESC (
3977 B" is somehow broken (e.g. broken by a newline). */ 3977 B" is somehow broken (e.g. broken by a newline). */
3978 CODING_ISO_INVOCATION (coding, 0) = 0; 3978 CODING_ISO_INVOCATION (coding, 0) = 0;
3979 CODING_ISO_DESIGNATION (coding, 0) = charset_ascii; 3979 CODING_ISO_DESIGNATION (coding, 0) = charset_ascii;
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 63dda583529..ec3707d18f3 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -1401,7 +1401,7 @@ usage: (dbus-message-internal &rest REST) */)
1401 1401
1402 if ((mtype == DBUS_MESSAGE_TYPE_ERROR) 1402 if ((mtype == DBUS_MESSAGE_TYPE_ERROR)
1403 && (!dbus_message_set_error_name (dmessage, DBUS_ERROR_FAILED))) 1403 && (!dbus_message_set_error_name (dmessage, DBUS_ERROR_FAILED)))
1404 XD_SIGNAL1 (build_string ("Unable to create a error message")); 1404 XD_SIGNAL1 (build_string ("Unable to create an error message"));
1405 } 1405 }
1406 1406
1407 /* Check for timeout parameter. */ 1407 /* Check for timeout parameter. */
diff --git a/src/eval.c b/src/eval.c
index 3c2b300096b..08a73b1e4a5 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1604,7 +1604,10 @@ signal_or_quit (Lisp_Object error_symbol, Lisp_Object data, bool keyboard_quit)
1604 1604
1605 /* This hook is used by edebug. */ 1605 /* This hook is used by edebug. */
1606 if (! NILP (Vsignal_hook_function) 1606 if (! NILP (Vsignal_hook_function)
1607 && ! NILP (error_symbol)) 1607 && ! NILP (error_symbol)
1608 /* Don't try to call a lisp function if we've already overflowed
1609 the specpdl stack. */
1610 && specpdl_ptr < specpdl + specpdl_size)
1608 { 1611 {
1609 /* Edebug takes care of restoring these variables when it exits. */ 1612 /* Edebug takes care of restoring these variables when it exits. */
1610 if (lisp_eval_depth + 20 > max_lisp_eval_depth) 1613 if (lisp_eval_depth + 20 > max_lisp_eval_depth)
diff --git a/src/image.c b/src/image.c
index 6e860834378..37416c16168 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8281,7 +8281,7 @@ extern WandExport void PixelGetMagickColor (const PixelWand *,
8281#endif 8281#endif
8282 8282
8283/* Log ImageMagick error message. 8283/* Log ImageMagick error message.
8284 Useful when a ImageMagick function returns the status `MagickFalse'. */ 8284 Useful when an ImageMagick function returns the status `MagickFalse'. */
8285 8285
8286static void 8286static void
8287imagemagick_error (MagickWand *wand) 8287imagemagick_error (MagickWand *wand)
diff --git a/src/inotify.c b/src/inotify.c
index 08da308c978..e06cc97c6a7 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -503,7 +503,7 @@ DEFUN ("inotify-watch-list", Finotify_watch_list, Sinotify_watch_list, 0, 0, 0,
503} 503}
504 504
505DEFUN ("inotify-allocated-p", Finotify_allocated_p, Sinotify_allocated_p, 0, 0, 0, 505DEFUN ("inotify-allocated-p", Finotify_allocated_p, Sinotify_allocated_p, 0, 0, 0,
506 doc: /* Return non-nil, if a inotify instance is allocated. */) 506 doc: /* Return non-nil, if an inotify instance is allocated. */)
507{ 507{
508 return inotifyfd < 0 ? Qnil : Qt; 508 return inotifyfd < 0 ? Qnil : Qt;
509} 509}
diff --git a/src/keymap.c b/src/keymap.c
index 80a899b5755..c8cc933e782 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1278,7 +1278,7 @@ append_key (Lisp_Object key_sequence, Lisp_Object key)
1278 return CALLN (Fvconcat, key_sequence, key_list); 1278 return CALLN (Fvconcat, key_sequence, key_list);
1279} 1279}
1280 1280
1281/* Given a event type C which is a symbol, 1281/* Given an event type C which is a symbol,
1282 signal an error if is a mistake such as RET or M-RET or C-DEL, etc. */ 1282 signal an error if is a mistake such as RET or M-RET or C-DEL, etc. */
1283 1283
1284static void 1284static void
diff --git a/src/process.c b/src/process.c
index 496b1f2b70c..6ba27a33f4d 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3733,7 +3733,7 @@ setting of the remote datagram address. When specified for a client
3733process, the FAMILY, HOST, and SERVICE args are ignored. 3733process, the FAMILY, HOST, and SERVICE args are ignored.
3734 3734
3735The format of ADDRESS depends on the address family: 3735The format of ADDRESS depends on the address family:
3736- An IPv4 address is represented as an vector of integers [A B C D P] 3736- An IPv4 address is represented as a vector of integers [A B C D P]
3737corresponding to numeric IP address A.B.C.D and port number P. 3737corresponding to numeric IP address A.B.C.D and port number P.
3738- A local address is represented as a string with the address in the 3738- A local address is represented as a string with the address in the
3739local address space. 3739local address space.
diff --git a/src/regex.c b/src/regex.c
index 122cf712422..a4e6441cce3 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -5787,7 +5787,7 @@ re_match_2_internal (struct re_pattern_buffer *bufp, re_char *string1,
5787 5787
5788 EXTRACT_NUMBER (mcnt, p2 - 2); 5788 EXTRACT_NUMBER (mcnt, p2 - 2);
5789 5789
5790 /* Ensure this is a indeed the trivial kind of loop 5790 /* Ensure this is indeed the trivial kind of loop
5791 we are expecting. */ 5791 we are expecting. */
5792 assert (skip_one_char (p1) == p2 - 3); 5792 assert (skip_one_char (p1) == p2 - 3);
5793 assert ((re_opcode_t) p2[-3] == jump && p2 + mcnt == p); 5793 assert ((re_opcode_t) p2[-3] == jump && p2 + mcnt == p);
diff --git a/src/syntax.c b/src/syntax.c
index 52cec23cd7e..20c607420c1 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3049,7 +3049,7 @@ Comments are ignored if `parse-sexp-ignore-comments' is non-nil.
3049 3049
3050If we reach the beginning or end of the accessible part of the buffer 3050If we reach the beginning or end of the accessible part of the buffer
3051before we have scanned over COUNT lists, return nil if the depth at 3051before we have scanned over COUNT lists, return nil if the depth at
3052that point is zero, and signal a error if the depth is nonzero. */) 3052that point is zero, and signal an error if the depth is nonzero. */)
3053 (Lisp_Object from, Lisp_Object count, Lisp_Object depth) 3053 (Lisp_Object from, Lisp_Object count, Lisp_Object depth)
3054{ 3054{
3055 CHECK_NUMBER (from); 3055 CHECK_NUMBER (from);
diff --git a/src/xdisp.c b/src/xdisp.c
index f6fcdec6624..14286447d13 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -32499,7 +32499,7 @@ or `nobreak-hyphen' face respectively.
32499U+00A0 (no-break space), U+00AD (soft hyphen), U+2010 (hyphen), and 32499U+00A0 (no-break space), U+00AD (soft hyphen), U+2010 (hyphen), and
32500U+2011 (non-breaking hyphen) are affected. 32500U+2011 (non-breaking hyphen) are affected.
32501 32501
32502Any other non-nil value means to display these characters as a escape 32502Any other non-nil value means to display these characters as an escape
32503glyph followed by an ordinary space or hyphen. 32503glyph followed by an ordinary space or hyphen.
32504 32504
32505A value of nil means no special handling of these characters. */); 32505A value of nil means no special handling of these characters. */);
diff --git a/src/xsettings.c b/src/xsettings.c
index ac2d86f5922..81c8f9b2919 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -53,7 +53,7 @@ static char *current_font;
53static struct x_display_info *first_dpyinfo; 53static struct x_display_info *first_dpyinfo;
54static Lisp_Object current_tool_bar_style; 54static Lisp_Object current_tool_bar_style;
55 55
56/* Store an config changed event in to the event queue. */ 56/* Store a config changed event in to the event queue. */
57 57
58static void 58static void
59store_config_changed_event (Lisp_Object arg, Lisp_Object display_name) 59store_config_changed_event (Lisp_Object arg, Lisp_Object display_name)