diff options
| author | Glenn Morris | 2013-02-24 11:45:17 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-24 11:45:17 -0800 |
| commit | 1abfd3e85fa9b340699430cd9e15dd9f0073bdbe (patch) | |
| tree | 7e5b3bef0d0813f0627af5da403440708b212be2 /src | |
| parent | 4b9f0b67dae95106356e2cd7c7f03622702026f2 (diff) | |
| parent | c0c2eb8295bb99b6ac0bbf8c1e06b60220074a5b (diff) | |
| download | emacs-1abfd3e85fa9b340699430cd9e15dd9f0073bdbe.tar.gz emacs-1abfd3e85fa9b340699430cd9e15dd9f0073bdbe.zip | |
Merge from emacs-24; up to 2012-12-22T19:09:52Z!rgm@gnu.org
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 14 | ||||
| -rw-r--r-- | src/filelock.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 1 |
3 files changed, 16 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cc8cb84831a..8d3fc1e56fb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2013-02-24 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * xdisp.c (set_message): Only check for debug-on-message if STRING | ||
| 4 | is a string. (Bug#13797) | ||
| 5 | |||
| 6 | 2013-02-24 Paul Eggert <eggert@cs.ucla.edu> | ||
| 7 | |||
| 8 | Fix regression introduced by July 10 filelock.c patch. | ||
| 9 | * filelock.c (fill_in_lock_file_name): Fix crash caused by the | ||
| 10 | 2012-07-10 patch to this file. Reported by Eli Zaretskii in | ||
| 11 | <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00533.html> | ||
| 12 | and diagnosed by Andreas Schwab in | ||
| 13 | <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00534.html>. | ||
| 14 | |||
| 1 | 2013-02-22 Paul Eggert <eggert@cs.ucla.edu> | 15 | 2013-02-22 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 16 | ||
| 3 | Assume C89 or better. | 17 | Assume C89 or better. |
diff --git a/src/filelock.c b/src/filelock.c index 228fe98e8c7..cd2cd2e53a2 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -316,7 +316,7 @@ fill_in_lock_file_name (register char *lockfile, register Lisp_Object fn) | |||
| 316 | p[1] = '.'; | 316 | p[1] = '.'; |
| 317 | p[2] = '#'; | 317 | p[2] = '#'; |
| 318 | 318 | ||
| 319 | p = p + length + 2; | 319 | p = lockfile + length + 2; |
| 320 | 320 | ||
| 321 | while (lstat (lockfile, &st) == 0 && !S_ISLNK (st.st_mode)) | 321 | while (lstat (lockfile, &st) == 0 && !S_ISLNK (st.st_mode)) |
| 322 | { | 322 | { |
diff --git a/src/xdisp.c b/src/xdisp.c index 6b86fd076a5..f304ad0915c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10525,6 +10525,7 @@ set_message (Lisp_Object string) | |||
| 10525 | help_echo_showing_p = 0; | 10525 | help_echo_showing_p = 0; |
| 10526 | 10526 | ||
| 10527 | if (STRINGP (Vdebug_on_message) | 10527 | if (STRINGP (Vdebug_on_message) |
| 10528 | && STRINGP (string) | ||
| 10528 | && fast_string_match (Vdebug_on_message, string) >= 0) | 10529 | && fast_string_match (Vdebug_on_message, string) >= 0) |
| 10529 | call_debugger (list2 (Qerror, string)); | 10530 | call_debugger (list2 (Qerror, string)); |
| 10530 | } | 10531 | } |