aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-10-05 15:42:54 +0000
committerJuanma Barranquero2007-10-05 15:42:54 +0000
commit5a25a89581d76305989af359a2bd6472a02360ca (patch)
tree4efe711f324cc32341741a2c23ead307dfbfbea3
parent8e9dfc3810ba839eb205c693917778cd760111fa (diff)
downloademacs-5a25a89581d76305989af359a2bd6472a02360ca.tar.gz
emacs-5a25a89581d76305989af359a2bd6472a02360ca.zip
(bs-mode): Make sure global-font-lock-mode doesn't activate
font-locking in the *buffer-selection* buffer. (bs-show-sorted): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/bs.el4
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 558afa6d8be..5cd9c870df1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12007-10-05 Juanma Barranquero <lekktu@gmail.com> 12007-10-05 Juanma Barranquero <lekktu@gmail.com>
2 2
3 * bs.el (bs-mode): Make sure global-font-lock-mode doesn't
4 activate font-locking in the *buffer-selection* buffer.
5 (bs-show-sorted): Doc fix.
6
3 * bs.el (bs--get-marked-string, bs--get-modified-string) 7 * bs.el (bs--get-marked-string, bs--get-modified-string)
4 (bs--get-readonly-string, bs--get-size-string, bs--get-name) 8 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5 (bs--get-mode-name, bs-mode): Fix typos in docstrings. 9 (bs--get-mode-name, bs-mode): Fix typos in docstrings.
diff --git a/lisp/bs.el b/lisp/bs.el
index 29e5e40687a..4d13c97c2fd 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -652,12 +652,14 @@ to show always.
652 (use-local-map bs-mode-map) 652 (use-local-map bs-mode-map)
653 (make-local-variable 'font-lock-defaults) 653 (make-local-variable 'font-lock-defaults)
654 (make-local-variable 'font-lock-verbose) 654 (make-local-variable 'font-lock-verbose)
655 (make-local-variable 'font-lock-global-modes)
655 (buffer-disable-undo) 656 (buffer-disable-undo)
656 (setq major-mode 'bs-mode 657 (setq major-mode 'bs-mode
657 mode-name "Buffer-Selection-Menu" 658 mode-name "Buffer-Selection-Menu"
658 buffer-read-only t 659 buffer-read-only t
659 truncate-lines t 660 truncate-lines t
660 show-trailing-whitespace nil 661 show-trailing-whitespace nil
662 font-lock-global-modes '(not bs-mode)
661 font-lock-defaults '(bs-mode-font-lock-keywords t) 663 font-lock-defaults '(bs-mode-font-lock-keywords t)
662 font-lock-verbose nil) 664 font-lock-verbose nil)
663 (run-mode-hooks 'bs-mode-hook)) 665 (run-mode-hooks 'bs-mode-hook))
@@ -929,7 +931,7 @@ WHAT is a value of nil, `never', or `always'."
929 (bs-up 1)))) 931 (bs-up 1))))
930 932
931(defun bs-show-sorted () 933(defun bs-show-sorted ()
932 "Show buffer list sorted by buffer name." 934 "Show buffer list sorted by next sort aspect."
933 (interactive) 935 (interactive)
934 (setq bs--current-sort-function 936 (setq bs--current-sort-function
935 (bs-next-config-aux (car bs--current-sort-function) 937 (bs-next-config-aux (car bs--current-sort-function)