Syntax: PopPrefs [n]
Abbreviation: POPP
pops n sets of preferences from the preferences stack (where they were
placed previously by PushPrefs) and applies those preferences to the
current buffer. See PushPrefs. If not specified, n defaults to one. Note that the
preferences stack is global, not buffer specific. Therefore you could
PushPrefs one buffer's preferences, switch buffers, then PopPrefs
those settings 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.
PopPrefs restores the following values from the preferences stack:
AutoIndent DoUndo PreserveCR ShiftTabs WordWrap
AutoPrefs FreeForm ReadOnly Tabs
Binary HexCode RightMargin TabSize
CaseSearch Insert SearchBack UTF8Auto
ClipNumber NoFileReq StatusBar VisualBell