diff options
author | Chong Yidong <cyd@gnu.org> | 2012-10-02 02:10:29 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-10-02 02:10:29 +0800 |
commit | 62a81506f802e4824b718cc30321ee3a0057cdf7 (patch) | |
tree | d681d7b767b1c3f7e4aee24ce39f6bef0d7f1f7e /lisp/cedet/semantic/debug.el | |
parent | b3317662acc0157406c20c8e14c43b7126eaa8a0 (diff) | |
download | emacs-62a81506f802e4824b718cc30321ee3a0057cdf7.tar.gz |
Update CEDET from upstream.
Diffstat (limited to 'lisp/cedet/semantic/debug.el')
-rw-r--r-- | lisp/cedet/semantic/debug.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/cedet/semantic/debug.el b/lisp/cedet/semantic/debug.el index e88517b15ce..3c0bf877728 100644 --- a/lisp/cedet/semantic/debug.el +++ b/lisp/cedet/semantic/debug.el @@ -308,13 +308,13 @@ Argument ONOFF is non-nil when we are entering debug mode. ;; Install our map onto this buffer (use-local-map semantic-debug-mode-map) ;; Make the buffer read only - (toggle-read-only 1) + (setq buffer-read-only t) (set-buffer (oref iface source-buffer)) ;; Use our map in the source buffer also (use-local-map semantic-debug-mode-map) ;; Make the buffer read only - (toggle-read-only 1) + (setq buffer-read-only t) ;; Hooks (run-hooks 'semantic-debug-mode-hook) ) |