aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2015-02-25 22:53:56 -0800
committerPaul Eggert2015-02-25 22:53:56 -0800
commitd8e9122115b5ffcec342c841b81cb2d2b8217e4b (patch)
tree477830be0a1707699381146a4ed45c53d0b928b0 /src
parentcbd447e1cdbbebcd2a04144194138bb7936dea9d (diff)
parente726f2058c98e68c951bdb290fe68dac2a84ff65 (diff)
downloademacs-d8e9122115b5ffcec342c841b81cb2d2b8217e4b.tar.gz
emacs-d8e9122115b5ffcec342c841b81cb2d2b8217e4b.zip
Merge from origin/emacs-24
e726f20 Handle "#" operator properly inside macro. Fix coding bug. 618931b Handle dead frame in menu-bar-non-minibuffer-window-p. (Bug#19728) 017a03a Document MS-Windows file-name idiosyncrasies (Bug#19463) f3faf4f Fix description of Customize buffer in Emacs manual. 1c1d0b7 Fix a typo in the Emacs manual's Hungry Delete description. be7fb82 src/dispextern.h (FACE_FOR_CHAR): Fix the commentary. 33c4409 Spelling fixes 6c8231e python.el: Handle tabs in python-indent-dedent-line. 41c3b92 * lisp/progmodes/python.el: Respect user indentation after comment. 868df45 Avoid compiler warnings in decode_env_path. b28c979 Fix XEmacs version typo in comment and ChangeLog 989fb32 Improve solution of bug #19701 6310530 Fix refilling of list of language environments in User Manual c4c447d Restore XEmacs compatibility Conflicts: doc/emacs/ChangeLog lisp/ChangeLog src/ChangeLog test/ChangeLog
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog14
-rw-r--r--src/dispextern.h6
-rw-r--r--src/emacs.c2
-rw-r--r--src/w32.c1
4 files changed, 20 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 37e6d20eb83..f0ec092c068 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,17 @@
12015-02-26 Eli Zaretskii <eliz@gnu.org>
2
3 * dispextern.h (FACE_FOR_CHAR): Fix the commentary.
4
52015-02-26 Hans Wennborg <hwennborg@google.com> (tiny change)
6
7 * emacs.c (decode_env_path): Add parentheses around ternary
8 operator to increase readability and pacify compiler warnings.
9
102015-02-26 Eli Zaretskii <eliz@gnu.org>
11
12 * w32.c (sys_readdir): Map ERROR_NOT_READY (as in "device not
13 ready") to ENOENT.
14
12015-02-26 Paul Eggert <eggert@cs.ucla.edu> 152015-02-26 Paul Eggert <eggert@cs.ucla.edu>
2 16
3 * xfns.c (x_real_pos_and_offsets): Fix pointer signedness. 17 * xfns.c (x_real_pos_and_offsets): Fix pointer signedness.
diff --git a/src/dispextern.h b/src/dispextern.h
index 5f730df514b..329572eda22 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1810,8 +1810,10 @@ struct face_cache
1810 ((FACE) == (FACE)->ascii_face) 1810 ((FACE) == (FACE)->ascii_face)
1811 1811
1812/* Return the id of the realized face on frame F that is like the face 1812/* Return the id of the realized face on frame F that is like the face
1813 with id ID but is suitable for displaying character CHAR. 1813 FACE, but is suitable for displaying character CHAR at buffer or
1814 This macro is only meaningful for multibyte character CHAR. */ 1814 string position POS. OBJECT is the string object, or nil for
1815 buffer. This macro is only meaningful for multibyte character
1816 CHAR. */
1815 1817
1816#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT) \ 1818#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT) \
1817 face_for_char ((F), (FACE), (CHAR), (POS), (OBJECT)) 1819 face_for_char ((F), (FACE), (CHAR), (POS), (OBJECT))
diff --git a/src/emacs.c b/src/emacs.c
index c2b698ba50b..cb0c8417794 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2247,7 +2247,7 @@ decode_env_path (const char *evarname, const char *defalt, bool empty)
2247 p = strchr (path, SEPCHAR); 2247 p = strchr (path, SEPCHAR);
2248 if (!p) 2248 if (!p)
2249 p = path + strlen (path); 2249 p = path + strlen (path);
2250 element = (p - path ? make_unibyte_string (path, p - path) 2250 element = ((p - path) ? make_unibyte_string (path, p - path)
2251 : empty_element); 2251 : empty_element);
2252 if (! NILP (element)) 2252 if (! NILP (element))
2253 { 2253 {
diff --git a/src/w32.c b/src/w32.c
index 90096689776..547db0f6dd9 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -3455,6 +3455,7 @@ sys_readdir (DIR *dirp)
3455 break; 3455 break;
3456 case ERROR_PATH_NOT_FOUND: 3456 case ERROR_PATH_NOT_FOUND:
3457 case ERROR_INVALID_DRIVE: 3457 case ERROR_INVALID_DRIVE:
3458 case ERROR_NOT_READY:
3458 case ERROR_BAD_NETPATH: 3459 case ERROR_BAD_NETPATH:
3459 case ERROR_BAD_NET_NAME: 3460 case ERROR_BAD_NET_NAME:
3460 errno = ENOENT; 3461 errno = ENOENT;