aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-10-09 13:12:56 -0700
committerGlenn Morris2018-10-09 13:12:56 -0700
commitb89b5ca648015fc00db4328f5019095e0dc7b6db (patch)
tree28f4ac148a2383ed03574698e339dd194260088a
parent641d98531ef7177d9ff0cf6f7362c7ff5ad2fc1c (diff)
parent14c032d5f8d4ccb608cc906db34ddf17ce465449 (diff)
downloademacs-b89b5ca648015fc00db4328f5019095e0dc7b6db.tar.gz
emacs-b89b5ca648015fc00db4328f5019095e0dc7b6db.zip
Merge from origin/emacs-26
14c032d Avoid assertion violations in nonsensical calls to 'signal' b99192f * lisp/simple.el (transient-mark-mode): Correct documentation... 7e42294 Update the locale and language database 8c53d9f Fix a typo in a doc string. 79bda3b Make nneething allow CRLF-encoded files (bug#32940)
-rw-r--r--lisp/gnus/nneething.el2
-rw-r--r--lisp/international/mule-cmds.el52
-rw-r--r--lisp/simple.el8
-rw-r--r--lisp/window.el2
-rw-r--r--src/eval.c5
5 files changed, 41 insertions, 28 deletions
diff --git a/lisp/gnus/nneething.el b/lisp/gnus/nneething.el
index 10ac7025505..ced75c8725e 100644
--- a/lisp/gnus/nneething.el
+++ b/lisp/gnus/nneething.el
@@ -123,7 +123,7 @@ included.")
123 (file-exists-p file) ; The file exists. 123 (file-exists-p file) ; The file exists.
124 (not (file-directory-p file)) ; It's not a dir. 124 (not (file-directory-p file)) ; It's not a dir.
125 (save-excursion 125 (save-excursion
126 (let ((nnmail-file-coding-system 'binary)) 126 (let ((nnmail-file-coding-system 'raw-text))
127 (nnmail-find-file file)) ; Insert the file in the nntp buf. 127 (nnmail-find-file file)) ; Insert the file in the nntp buf.
128 (unless (nnheader-article-p) ; Either it's a real article... 128 (unless (nnheader-article-p) ; Either it's a real article...
129 (let ((type 129 (let ((type
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 817a26b1feb..b755ae07d38 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -2213,7 +2213,7 @@ See `set-language-info-alist' for use in programs."
2213 ("bg" "Bulgarian" cp1251) ; Bulgarian 2213 ("bg" "Bulgarian" cp1251) ; Bulgarian
2214 ; bh Bihari 2214 ; bh Bihari
2215 ; bi Bislama 2215 ; bi Bislama
2216 ("bn" . "UTF-8") ; Bengali, Bangla 2216 ("bn" "Bengali" utf-8) ; Bengali, Bangla
2217 ("bo" . "Tibetan") 2217 ("bo" . "Tibetan")
2218 ("br" . "Latin-1") ; Breton 2218 ("br" . "Latin-1") ; Breton
2219 ("bs" . "Latin-2") ; Bosnian 2219 ("bs" . "Latin-2") ; Bosnian
@@ -2226,6 +2226,7 @@ See `set-language-info-alist' for use in programs."
2226 ("de" "German" iso-8859-1) 2226 ("de" "German" iso-8859-1)
2227 ; dv Divehi 2227 ; dv Divehi
2228 ; dz Bhutani 2228 ; dz Bhutani
2229 ("ee" . "Latin-4") ; Ewe
2229 ("el" "Greek" iso-8859-7) 2230 ("el" "Greek" iso-8859-7)
2230 ;; Users who specify "en" explicitly typically want Latin-1, not ASCII. 2231 ;; Users who specify "en" explicitly typically want Latin-1, not ASCII.
2231 ;; That's actually what the GNU locales define, modulo things like 2232 ;; That's actually what the GNU locales define, modulo things like
@@ -2234,10 +2235,10 @@ See `set-language-info-alist' for use in programs."
2234 ("en" "English" iso-8859-1) ; English 2235 ("en" "English" iso-8859-1) ; English
2235 ("eo" . "Esperanto") ; Esperanto 2236 ("eo" . "Esperanto") ; Esperanto
2236 ("es" "Spanish" iso-8859-1) 2237 ("es" "Spanish" iso-8859-1)
2237 ("et" . "Latin-1") ; Estonian 2238 ("et" . "Latin-9") ; Estonian
2238 ("eu" . "Latin-1") ; Basque 2239 ("eu" . "Latin-1") ; Basque
2239 ("fa" . "UTF-8") ; Persian 2240 ("fa" "Persian" utf-8) ; Persian
2240 ("fi" . "Latin-1") ; Finnish 2241 ("fi" . "Latin-9") ; Finnish
2241 ("fj" . "Latin-1") ; Fiji 2242 ("fj" . "Latin-1") ; Fiji
2242 ("fo" . "Latin-1") ; Faroese 2243 ("fo" . "Latin-1") ; Faroese
2243 ("fr" "French" iso-8859-1) ; French 2244 ("fr" "French" iso-8859-1) ; French
@@ -2247,11 +2248,12 @@ See `set-language-info-alist' for use in programs."
2247 ("gez" "Ethiopic" utf-8) ; Geez 2248 ("gez" "Ethiopic" utf-8) ; Geez
2248 ("gl" . "Latin-1") ; Gallegan; Galician 2249 ("gl" . "Latin-1") ; Gallegan; Galician
2249 ; gn Guarani 2250 ; gn Guarani
2250 ("gu" . "UTF-8") ; Gujarati 2251 ("gu" "Gujarati" utf-8) ; Gujarati
2251 ("gv" . "Latin-1") ; Manx Gaelic 2252 ("gv" . "Latin-1") ; Manx Gaelic
2252 ; ha Hausa 2253 ; ha Hausa
2253 ("he" "Hebrew" iso-8859-8) 2254 ("he" "Hebrew" iso-8859-8)
2254 ("hi" "Devanagari" utf-8) ; Hindi 2255 ("hi" "Devanagari" utf-8) ; Hindi
2256 ("hni_IN" . "UTF-8") ; Chhattisgarhi
2255 ("hr" "Croatian" iso-8859-2) ; Croatian 2257 ("hr" "Croatian" iso-8859-2) ; Croatian
2256 ("hu" . "Latin-2") ; Hungarian 2258 ("hu" . "Latin-2") ; Hungarian
2257 ; hy Armenian 2259 ; hy Armenian
@@ -2268,20 +2270,20 @@ See `set-language-info-alist' for use in programs."
2268 ("ka" "Georgian" georgian-ps) ; Georgian 2270 ("ka" "Georgian" georgian-ps) ; Georgian
2269 ; kk Kazakh 2271 ; kk Kazakh
2270 ("kl" . "Latin-1") ; Greenlandic 2272 ("kl" . "Latin-1") ; Greenlandic
2271 ; km Cambodian 2273 ("km" "Khmer" utf-8) ; Cambodian, Khmer
2272 ("kn" "Kannada" utf-8) 2274 ("kn" "Kannada" utf-8)
2273 ("ko" "Korean" euc-kr) 2275 ("ko" "Korean" euc-kr)
2274 ; ks Kashmiri 2276 ("ks" . "UTF-8") ; Kashmiri
2275 ; ku Kurdish 2277 ; ku Kurdish
2276 ("kw" . "Latin-1") ; Cornish 2278 ("kw" . "Latin-1") ; Cornish
2277 ; ky Kirghiz 2279 ("ky" . "UTF-8") ; Kirghiz
2278 ("la" . "Latin-1") ; Latin 2280 ("la" . "Latin-1") ; Latin
2279 ("lb" . "Latin-1") ; Luxemburgish 2281 ("lb" . "Latin-1") ; Luxemburgish
2280 ("lg" . "Laint-6") ; Ganda 2282 ("lg" . "Latin-6") ; Ganda, a.k.a. Luganda
2281 ; ln Lingala 2283 ; ln Lingala
2282 ("lo" "Lao" utf-8) ; Laothian 2284 ("lo" "Lao" utf-8) ; Laothian
2283 ("lt" "Lithuanian" iso-8859-13) 2285 ("lt" "Lithuanian" iso-8859-13)
2284 ("lv" . "Latvian") ; Latvian, Lettish 2286 ("lv" "Latvian" iso-8859-13) ; Latvian, Lettish
2285 ; mg Malagasy 2287 ; mg Malagasy
2286 ("mi" . "Latin-7") ; Maori 2288 ("mi" . "Latin-7") ; Maori
2287 ("mk" "Cyrillic-ISO" iso-8859-5) ; Macedonian 2289 ("mk" "Cyrillic-ISO" iso-8859-5) ; Macedonian
@@ -2291,24 +2293,29 @@ See `set-language-info-alist' for use in programs."
2291 ("mr" "Devanagari" utf-8) ; Marathi 2293 ("mr" "Devanagari" utf-8) ; Marathi
2292 ("ms" . "Latin-1") ; Malay 2294 ("ms" . "Latin-1") ; Malay
2293 ("mt" . "Latin-3") ; Maltese 2295 ("mt" . "Latin-3") ; Maltese
2294 ; my Burmese 2296 ("my" "Burmese" utf-8) ; Burmese
2295 ; na Nauru 2297 ; na Nauru
2296 ("nb" . "Latin-1") ; Norwegian 2298 ("nb" . "Latin-1") ; Norwegian
2297 ("ne" "Devanagari" utf-8) ; Nepali 2299 ("ne" "Devanagari" utf-8) ; Nepali
2298 ("nl" "Dutch" iso-8859-1) 2300 ("nl" "Dutch" iso-8859-1)
2301 ("nn" . "Latin-1") ; Norwegian Nynorsk
2299 ("no" . "Latin-1") ; Norwegian 2302 ("no" . "Latin-1") ; Norwegian
2303 ("nr_ZA" . "UTF-8") ; South Ndebele
2304 ("nso_ZA" . "UTF-8") ; Pedi
2300 ("oc" . "Latin-1") ; Occitan 2305 ("oc" . "Latin-1") ; Occitan
2301 ("om_ET" . "UTF-8") ; (Afan) Oromo 2306 ("om_ET" . "UTF-8") ; (Afan) Oromo
2302 ("om" . "Latin-1") ; (Afan) Oromo 2307 ("om" . "Latin-1") ; (Afan) Oromo
2303 ; or Oriya 2308 ("or" "Oriya" utf-8)
2304 ("pa" . "UTF-8") ; Punjabi 2309 ("pa" "Punjabi" utf-8) ; Punjabi
2305 ("pl" . "Latin-2") ; Polish 2310 ("pl" "Polish" iso-8859-2) ; Polish
2306 ; ps Pashto, Pushto 2311 ; ps Pashto, Pushto
2312 ("pt_BR" "Brazilian Portuguese" iso-8859-1) ; Brazilian Portuguese
2307 ("pt" . "Latin-1") ; Portuguese 2313 ("pt" . "Latin-1") ; Portuguese
2308 ; qu Quechua 2314 ; qu Quechua
2309 ("rm" . "Latin-1") ; Rhaeto-Romanic 2315 ("rm" . "Latin-1") ; Rhaeto-Romanic
2310 ; rn Kirundi 2316 ; rn Kirundi
2311 ("ro" "Romanian" iso-8859-2) 2317 ("ro" "Romanian" iso-8859-2)
2318 ("ru_RU.koi8r" "Cyrillic-KOI8" koi8-r)
2312 ("ru_RU" "Russian" iso-8859-5) 2319 ("ru_RU" "Russian" iso-8859-5)
2313 ("ru_UA" "Russian" koi8-u) 2320 ("ru_UA" "Russian" koi8-u)
2314 ; rw Kinyarwanda 2321 ; rw Kinyarwanda
@@ -2317,7 +2324,7 @@ See `set-language-info-alist' for use in programs."
2317 ("se" . "UTF-8") ; Northern Sami 2324 ("se" . "UTF-8") ; Northern Sami
2318 ; sg Sangho 2325 ; sg Sangho
2319 ("sh" . "Latin-2") ; Serbo-Croatian 2326 ("sh" . "Latin-2") ; Serbo-Croatian
2320 ; si Sinhalese 2327 ("si" "Sinhala" utf-8) ; Sinhalese
2321 ("sid" . "UTF-8") ; Sidamo 2328 ("sid" . "UTF-8") ; Sidamo
2322 ("sk" "Slovak" iso-8859-2) 2329 ("sk" "Slovak" iso-8859-2)
2323 ("sl" "Slovenian" iso-8859-2) 2330 ("sl" "Slovenian" iso-8859-2)
@@ -2325,7 +2332,7 @@ See `set-language-info-alist' for use in programs."
2325 ; sn Shona 2332 ; sn Shona
2326 ("so_ET" "UTF-8") ; Somali 2333 ("so_ET" "UTF-8") ; Somali
2327 ("so" "Latin-1") ; Somali 2334 ("so" "Latin-1") ; Somali
2328 ("sq" . "Latin-1") ; Albanian 2335 ("sq" . "Latin-2") ; Albanian
2329 ("sr" . "Latin-2") ; Serbian (Latin alphabet) 2336 ("sr" . "Latin-2") ; Serbian (Latin alphabet)
2330 ; ss Siswati 2337 ; ss Siswati
2331 ("st" . "Latin-1") ; Sesotho 2338 ("st" . "Latin-1") ; Sesotho
@@ -2333,17 +2340,20 @@ See `set-language-info-alist' for use in programs."
2333 ("sv" "Swedish" iso-8859-1) ; Swedish 2340 ("sv" "Swedish" iso-8859-1) ; Swedish
2334 ("sw" . "Latin-1") ; Swahili 2341 ("sw" . "Latin-1") ; Swahili
2335 ("ta" "Tamil" utf-8) 2342 ("ta" "Tamil" utf-8)
2336 ("te" . "UTF-8") ; Telugu 2343 ("te" "Telugu" utf-8) ; Telugu
2337 ("tg" "Tajik" koi8-t) 2344 ("tg" "Tajik" koi8-t)
2338 ("th" "Thai" tis-620) 2345 ("th_TH.tis620" "Thai" tis-620)
2346 ("th_TH.TIS-620" "Thai" tis-620)
2347 ("th_TH" "Thai" iso-8859-11)
2348 ("th" "Thai" iso-8859-11)
2339 ("ti" "Ethiopic" utf-8) ; Tigrinya 2349 ("ti" "Ethiopic" utf-8) ; Tigrinya
2340 ("tig_ER" . "UTF-8") ; Tigre 2350 ("tig_ER" . "UTF-8") ; Tigre
2341 ; tk Turkmen 2351 ; tk Turkmen
2342 ("tl" . "Latin-1") ; Tagalog 2352 ("tl" . "Latin-1") ; Tagalog
2343 ; tn Setswana 2353 ("tn" . "Latin-9") ; Setswana, Tswana
2344 ; to Tonga 2354 ; to Tonga
2345 ("tr" "Turkish" iso-8859-9) 2355 ("tr" "Turkish" iso-8859-9)
2346 ; ts Tsonga 2356 ("ts" . "Latin-1") ; Tsonga
2347 ("tt" . "UTF-8") ; Tatar 2357 ("tt" . "UTF-8") ; Tatar
2348 ; tw Twi 2358 ; tw Twi
2349 ; ug Uighur 2359 ; ug Uighur
@@ -2351,6 +2361,7 @@ See `set-language-info-alist' for use in programs."
2351 ("ur" . "UTF-8") ; Urdu 2361 ("ur" . "UTF-8") ; Urdu
2352 ("uz_UZ@cyrillic" . "UTF-8"); Uzbek 2362 ("uz_UZ@cyrillic" . "UTF-8"); Uzbek
2353 ("uz" . "Latin-1") ; Uzbek 2363 ("uz" . "Latin-1") ; Uzbek
2364 ("ve" . "UTF-8") ; Venda
2354 ("vi" "Vietnamese" utf-8) 2365 ("vi" "Vietnamese" utf-8)
2355 ; vo Volapuk 2366 ; vo Volapuk
2356 ("wa" . "Latin-1") ; Walloon 2367 ("wa" . "Latin-1") ; Walloon
@@ -2380,7 +2391,6 @@ See `set-language-info-alist' for use in programs."
2380 2391
2381 ;; Nonstandard or obsolete language codes 2392 ;; Nonstandard or obsolete language codes
2382 ("cz" . "Czech") ; e.g. Solaris 2.6 2393 ("cz" . "Czech") ; e.g. Solaris 2.6
2383 ("ee" . "Latin-4") ; Estonian, e.g. X11R6.4
2384 ("iw" . "Hebrew") ; e.g. X11R6.4 2394 ("iw" . "Hebrew") ; e.g. X11R6.4
2385 ("sp" . "Cyrillic-ISO") ; Serbian (Cyrillic alphabet), e.g. X11R6.4 2395 ("sp" . "Cyrillic-ISO") ; Serbian (Cyrillic alphabet), e.g. X11R6.4
2386 ("su" . "Latin-1") ; Finnish, e.g. Solaris 2.6 2396 ("su" . "Latin-1") ; Finnish, e.g. Solaris 2.6
diff --git a/lisp/simple.el b/lisp/simple.el
index e41630d4ed1..96128c6b9ba 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -5823,10 +5823,10 @@ its earlier value."
5823 5823
5824Transient Mark mode is a global minor mode. When enabled, the 5824Transient Mark mode is a global minor mode. When enabled, the
5825region is highlighted with the `region' face whenever the mark 5825region is highlighted with the `region' face whenever the mark
5826is active. The mark is \"deactivated\" by changing the buffer, 5826is active. The mark is \"deactivated\" after certain non-motion
5827and after certain other operations that set the mark but whose 5827commands, including those that change the text in the buffer, and
5828main purpose is something else--for example, incremental search, 5828during shift or mouse selection by any unshifted cursor motion
5829\\[beginning-of-buffer], and \\[end-of-buffer]. 5829command (see Info node `Shift Selection' for more details).
5830 5830
5831You can also deactivate the mark by typing \\[keyboard-quit] or 5831You can also deactivate the mark by typing \\[keyboard-quit] or
5832\\[keyboard-escape-quit]. 5832\\[keyboard-escape-quit].
diff --git a/lisp/window.el b/lisp/window.el
index 0a42dae6ca8..8ff8497768d 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -6833,7 +6833,7 @@ See `display-buffer' for details.")
6833(put 'display-buffer-overriding-action 'risky-local-variable t) 6833(put 'display-buffer-overriding-action 'risky-local-variable t)
6834 6834
6835(defcustom display-buffer-alist nil 6835(defcustom display-buffer-alist nil
6836 "Alist of uder-defined conditional actions for `display-buffer'. 6836 "Alist of user-defined conditional actions for `display-buffer'.
6837Its value takes effect before `display-buffer-base-action' 6837Its value takes effect before `display-buffer-base-action'
6838and `display-buffer-fallback-action', but after 6838and `display-buffer-fallback-action', but after
6839`display-buffer-overriding-action', which see. 6839`display-buffer-overriding-action', which see.
diff --git a/src/eval.c b/src/eval.c
index 5e25caaa847..42c275de6bc 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1591,7 +1591,7 @@ DEFUN ("signal", Fsignal, Ssignal, 2, 2, 0,
1591This function does not return. 1591This function does not return.
1592 1592
1593An error symbol is a symbol with an `error-conditions' property 1593An error symbol is a symbol with an `error-conditions' property
1594that is a list of condition names. 1594that is a list of condition names. The symbol should be non-nil.
1595A handler for any of those names will get to handle this signal. 1595A handler for any of those names will get to handle this signal.
1596The symbol `error' should normally be one of them. 1596The symbol `error' should normally be one of them.
1597 1597
@@ -1603,6 +1603,9 @@ See also the function `condition-case'. */
1603 attributes: noreturn) 1603 attributes: noreturn)
1604 (Lisp_Object error_symbol, Lisp_Object data) 1604 (Lisp_Object error_symbol, Lisp_Object data)
1605{ 1605{
1606 /* If they call us with nonsensical arguments, produce "peculiar error". */
1607 if (NILP (error_symbol) && NILP (data))
1608 error_symbol = Qerror;
1606 signal_or_quit (error_symbol, data, false); 1609 signal_or_quit (error_symbol, data, false);
1607 eassume (false); 1610 eassume (false);
1608} 1611}