If the optional argument SET is non-nil, use that to set external data.
If the optional argument GET is non-nil, use that to get external data."
(switch-to-buffer name)
- (buffer-disable-undo)
+ (buffer-disable-undo (current-buffer))
(custom-mode)
(setq custom-local-type-properties types)
(if (null custom)