diff options
-rw-r--r-- | sx-question-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el index 9276381..4263f6e 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -243,6 +243,7 @@ on the current buffer use \\{sx-question-mode}" (setq header-line-format sx-question-mode--header-line) (setq mode-line-format sx-question-mode--mode-line) + (buffer-disable-undo (current-buffer)) (set (make-local-variable 'nobreak-char-display) nil) ;; Determine how to close this window. (unless (window-parameter nil 'quit-restore) |