diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index b3dd6149487..15dbd2df34f 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5178,7 +5178,13 @@ init_buffer () | |||
| 5178 | } | 5178 | } |
| 5179 | #endif /* not VMS */ | 5179 | #endif /* not VMS */ |
| 5180 | 5180 | ||
| 5181 | current_buffer->directory = build_string (buf); | 5181 | current_buffer->directory = make_unibyte_string (buf, strlen (buf)); |
| 5182 | if (! NILP (buffer_defaults.enable_multibyte_characters)) | ||
| 5183 | /* At this momemnt, we still don't know how to decode the | ||
| 5184 | direcotry name. So, we keep the bytes in multibyte form so | ||
| 5185 | that ENCODE_FILE correctly gets the original bytes. */ | ||
| 5186 | current_buffer->directory | ||
| 5187 | = string_to_multibyte (current_buffer->directory); | ||
| 5182 | 5188 | ||
| 5183 | /* Add /: to the front of the name | 5189 | /* Add /: to the front of the name |
| 5184 | if it would otherwise be treated as magic. */ | 5190 | if it would otherwise be treated as magic. */ |
| @@ -5700,10 +5706,13 @@ scrolled, the top and bottom line of the window are marked with up and down | |||
| 5700 | arrow bitmaps. | 5706 | arrow bitmaps. |
| 5701 | 5707 | ||
| 5702 | If value is a symbol `left' or `right', both angle and arrow bitmaps | 5708 | If value is a symbol `left' or `right', both angle and arrow bitmaps |
| 5703 | are displayed in the left or right fringe, resp. | 5709 | are displayed in the left or right fringe, resp. Any other value |
| 5710 | that doesn't look like an alist means displat the angle bitmaps in | ||
| 5711 | the left fringe but no arrows. | ||
| 5704 | 5712 | ||
| 5705 | If value is an alist, each element (INDICATOR . POSITION) specifies | 5713 | You can exercise more precise control by using an alist as the |
| 5706 | the position of one of the indicators. INDICATOR is one of `top', | 5714 | value. Each alist element (INDICATOR . POSITION) specifies |
| 5715 | where to show one of the indicators. INDICATOR is one of `top', | ||
| 5707 | `bottom', `up', `down', or t, which specifies the default position, | 5716 | `bottom', `up', `down', or t, which specifies the default position, |
| 5708 | and POSITION is one of `left', `right', or nil, meaning do not show | 5717 | and POSITION is one of `left', `right', or nil, meaning do not show |
| 5709 | this indicator. | 5718 | this indicator. |