Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8d80e227
Commit
8d80e227
authored
Jul 02, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(decode_mode_spec): %+ makes % for unmodified RO buffer.
parent
c806d99e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/xdisp.c
src/xdisp.c
+3
-0
No files found.
src/xdisp.c
View file @
8d80e227
...
...
@@ -2961,8 +2961,11 @@ decode_mode_spec (w, c, maxwidth)
return
"-"
;
case
'+'
:
/* This differs from %* only for a modified read-only buffer. */
if
(
MODIFF
>
current_buffer
->
save_modified
)
return
"*"
;
if
(
!
NILP
(
current_buffer
->
read_only
))
return
"%"
;
return
"-"
;
case
's'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment