summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-10-19 14:51:12 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-10-19 14:51:12 +0000
commit5c74246048915e6b2baf9389702ff3818f24863a (patch)
tree7734d222a1785c56d0f1dd2bf8f0377cf9845b36
parent74a6d927886034406e2bf3a992fefd9a68f165ef (diff)
downloademacs-5c74246048915e6b2baf9389702ff3818f24863a.tar.gz
(bs-mode): Set mode-class property to special.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/bs.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8fe3c59c212..ffa46f0d268 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,7 @@
2007-10-19 Juanma Barranquero <lekktu@gmail.com>
* bs.el (bs--track-window-changes): Don't refresh the whole list.
+ (bs-mode): Set mode-class property to special.
* follow.el (follow-unload-function): New function.
diff --git a/lisp/bs.el b/lisp/bs.el
index eb23054d544..e420c58e2f8 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -628,6 +628,8 @@ Used from `window-size-change-functions'."
(remove-hook 'kill-buffer-hook 'bs--remove-hooks t)
(remove-hook 'change-major-mode-hook 'bs--remove-hooks t))
+(put 'bs-mode 'mode-class 'special)
+
(define-derived-mode bs-mode ()
"Major mode for editing a subset of Emacs' buffers.
\\<bs-mode-map>