mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 22:37:10 +09:00
Fixing settings not being applied when saving as a new file (#3625)
This commit is contained in:
@@ -232,6 +232,6 @@ func (b *Buffer) saveToFile(filename string, withSudo bool, autoSave bool) error
|
||||
absPath, _ := filepath.Abs(filename)
|
||||
b.AbsPath = absPath
|
||||
b.isModified = false
|
||||
b.UpdateRules()
|
||||
b.ReloadSettings(true)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user