mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
Merge
This commit is contained in:
commit
e7ee194acf
1 changed files with 2 additions and 2 deletions
|
@ -757,8 +757,8 @@ func (v *View) Save(usePlugin bool) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
if v.Type == vtHelp {
|
||||
// We can't save the help text
|
||||
if v.Type.scratch == true {
|
||||
// We can't save any view type with scratch set. eg help and log text
|
||||
return false
|
||||
}
|
||||
// If this is an empty buffer, ask for a filename
|
||||
|
|
Loading…
Reference in a new issue