summaryrefslogtreecommitdiff
path: root/lisp/play
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2011-02-02 12:59:44 -0500
committerSam Steingold <sds@gnu.org>2011-02-02 12:59:44 -0500
commite90f854587c8731d7c487723e4cc3a75b4e58f7a (patch)
treea8e0cd656a2e038c2182a684f529d76bf56da79b /lisp/play
parenta2ff2fc09dd3a129aa093a9beb9e35777d7201d1 (diff)
downloademacs-e90f854587c8731d7c487723e4cc3a75b4e58f7a.tar.gz
* lisp/apropos.el (apropos-print): Now that `apropos-mode' inherits
from `special-mode', entering it makes the buffer read-only, so call it only when everything has been already inserted. * lisp/emacs-lisp/ert.el (ert--setup-results-buffer) (ert-results-pop-to-backtrace-for-test-at-point) (ert-results-pop-to-messages-for-test-at-point) (ert-results-pop-to-timings): Ditto. * lisp/emacs-lisp/package.el (package--list-packages): Ditto. * lisp/play/solitaire.el (solitaire): Ditto.
Diffstat (limited to 'lisp/play')
-rw-r--r--lisp/play/solitaire.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/play/solitaire.el b/lisp/play/solitaire.el
index a9cb6c32e7d..3e6e941473f 100644
--- a/lisp/play/solitaire.el
+++ b/lisp/play/solitaire.el
@@ -188,7 +188,6 @@ Pick your favourite shortcuts:
(interactive "P")
(switch-to-buffer "*Solitaire*")
- (solitaire-mode)
(setq buffer-read-only t)
(setq solitaire-stones 32)
(solitaire-insert-board)
@@ -196,7 +195,7 @@ Pick your favourite shortcuts:
(goto-char (point-max))
(setq solitaire-center (search-backward "."))
(setq buffer-undo-list (list (point)))
- (set-buffer-modified-p nil))
+ (solitaire-mode))
(defun solitaire-build-modeline ()
(setq mode-line-format