aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2008-08-29 09:27:26 +0000
committerEli Zaretskii2008-08-29 09:27:26 +0000
commit398241376c49796cf222ade92efcae71f3d9c0df (patch)
tree7e477ff930c5bcb4fc037d9892ca48ba021c7970 /src
parent2428c57bd12b0e975c57b20d40d693c4e1b307db (diff)
downloademacs-398241376c49796cf222ade92efcae71f3d9c0df.tar.gz
emacs-398241376c49796cf222ade92efcae71f3d9c0df.zip
(report_file_error): Clarify the case of slash defeating downcasing.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 6b9b9afb47c..bf592fa7c4d 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -260,7 +260,8 @@ report_file_error (string, data)
260 break; 260 break;
261 default: 261 default:
262 /* System error messages are capitalized. Downcase the initial 262 /* System error messages are capitalized. Downcase the initial
263 unless it is followed by a slash. */ 263 unless it is followed by a slash. (The slash case caters to
264 error messages that begin with "I/O" or, in German, "E/A".) */
264 if (STRING_MULTIBYTE (errstring) 265 if (STRING_MULTIBYTE (errstring)
265 && ! EQ (Faref (errstring, make_number (1)), make_number ('/'))) 266 && ! EQ (Faref (errstring, make_number (1)), make_number ('/')))
266 { 267 {