diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | src/buffer.c | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f233d629670..cc48a350dec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-07-28 Nick Roberts <nickrob@snap.net.nz> | ||
| 2 | |||
| 3 | * bindings.el (mode-line-remote): Use updated %@ construct. | ||
| 4 | |||
| 1 | 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * calendar/cal-bahai.el (calendar-bahai-month-name-array) | 7 | * calendar/cal-bahai.el (calendar-bahai-month-name-array) |
diff --git a/src/buffer.c b/src/buffer.c index 2ded9857455..127bfba44e0 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5501,12 +5501,12 @@ A string is printed verbatim in the mode line except for %-constructs: | |||
| 5501 | %P -- print percent of buffer above bottom of window, perhaps plus Top, | 5501 | %P -- print percent of buffer above bottom of window, perhaps plus Top, |
| 5502 | or print Bottom or All. | 5502 | or print Bottom or All. |
| 5503 | %n -- print Narrow if appropriate. | 5503 | %n -- print Narrow if appropriate. |
| 5504 | %R -- print R or hyphen. R means that default-directory is on a | ||
| 5505 | remote machine. | ||
| 5506 | %t -- visited file is text or binary (if OS supports this distinction). | 5504 | %t -- visited file is text or binary (if OS supports this distinction). |
| 5507 | %z -- print mnemonics of keyboard, terminal, and buffer coding systems. | 5505 | %z -- print mnemonics of keyboard, terminal, and buffer coding systems. |
| 5508 | %Z -- like %z, but including the end-of-line format. | 5506 | %Z -- like %z, but including the end-of-line format. |
| 5509 | %e -- print error message about full memory. | 5507 | %e -- print error message about full memory. |
| 5508 | %@ -- print @ or hyphen. @ means that default-directory is on a | ||
| 5509 | remote machine. | ||
| 5510 | %[ -- print one [ for each recursive editing level. %] similar. | 5510 | %[ -- print one [ for each recursive editing level. %] similar. |
| 5511 | %% -- print %. %- -- print infinitely many dashes. | 5511 | %% -- print %. %- -- print infinitely many dashes. |
| 5512 | Decimal digits after the % specify field width to which to pad. */); | 5512 | Decimal digits after the % specify field width to which to pad. */); |
diff --git a/src/xdisp.c b/src/xdisp.c index 41105456d95..14a55720877 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -17994,7 +17994,7 @@ decode_mode_spec (w, c, field_width, precision, multibyte) | |||
| 17994 | #endif | 17994 | #endif |
| 17995 | break; | 17995 | break; |
| 17996 | 17996 | ||
| 17997 | case 'R': | 17997 | case '@': |
| 17998 | { | 17998 | { |
| 17999 | Lisp_Object val; | 17999 | Lisp_Object val; |
| 18000 | val = call1 (intern ("file-remote-p"), current_buffer->directory); | 18000 | val = call1 (intern ("file-remote-p"), current_buffer->directory); |