# `GSFont disableUndo`

*Instance Method*

Disables undo registration for the font and its glyphs.

## Declaration

```swift
func disableUndo()
```

```objc
- (void) disableUndo;
```

```python
disableUndo()
```

## Discussion

Balance this with [`GSFont enableUndo`](/Core/GlyphsCore/GSFont/enableUndo).

## See Also

### Undo

- [`GSFont.undoManager`](/Core/GlyphsCore/GSFont/undoManager) — The undo manager used for font-level changes, or `nil` when no document provides one.
- [`GSFont enableUndo`](/Core/GlyphsCore/GSFont/enableUndo) — Enables undo registration for the font and its glyphs.

