#### 4.9.20 PushPrefs

Syntax: `PushPrefs [`n`]`
Abbreviation: `PUSHP`

pushes n copies of the user preferences onto a stack. If not specified, n defaults to one. Use the `PopPrefs` command to pop preferences off the stack and restore the values. See PopPrefs. Note that the preferences stack is global, not buffer-specific, so you could `PushPrefs` one buffer's preferences, switch buffers, then `PopPrefs` those preferences, thereby altering the preferences for the second buffer. The maximum preferences stack depth is 32.

`PushPrefs` and `PopPrefs` are useful in macros that require certain preferences to work properly. A macro can `PushPrefs`, change any preferences necessary, do its work, then `PopPrefs` to restore the users previous preferences settings.

`PushPrefs` saves the following values on the preferences stack:

           AutoIndent   DoUndo      PreserveCR   Tabs
           AutoPrefs    FreeForm    ReadOnly     TabSize
           Binary       HexCode     RightMargin  UTF8Auto
           CaseSearch   Insert      SearchBack   VisualBell
           ClipNumber   NoFileReq   StatusBar    WordWrap