aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-10-03 11:12:20 +0000
committerJuanma Barranquero2007-10-03 11:12:20 +0000
commite0d0133a4a72d98f91f6db990899f077243de711 (patch)
tree7811ff9e20141b7d9e57a48d957fb0a30ed5d30a
parent87ef89380c68232faa3cb08c6b0108bc64885ddb (diff)
downloademacs-e0d0133a4a72d98f91f6db990899f077243de711.tar.gz
emacs-e0d0133a4a72d98f91f6db990899f077243de711.zip
Don't defvar `fontlock-verbose'.
(bs-config-clear): Fix typo in docstring. (bs--show-header): Use `dolist' instead of `mapcar'. (bs-mode): Set `show-trailing-whitespace' to nil.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/bs.el10
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 179e0e628e4..dd11dc0236e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,11 @@
12007-10-02 Adam Hupp <adam@hupp.org> (tiny change) 12007-10-03 Juanma Barranquero <lekktu@gmail.com>
2
3 * bs.el: Don't defvar `fontlock-verbose'.
4 (bs-config-clear): Fix typo in docstring.
5 (bs--show-header): Use `dolist' instead of `mapcar'.
6 (bs-mode): Set `show-trailing-whitespace' to nil.
7
82007-10-02 Adam Hupp <adam@hupp.org> (tiny change)
2 9
3 * progmodes/gdb-ui.el (pdb): Specify file for gud-break. 10 * progmodes/gdb-ui.el (pdb): Specify file for gud-break.
4 11
@@ -29,7 +36,7 @@
29 36
302007-09-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 372007-09-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
31 38
32 * term/x-win.el (x-gtk-stock-map): Version is 22.2 39 * term/x-win.el (x-gtk-stock-map): Version is 22.2.
33 40
342007-09-29 Martin Rudalics <rudalics@gmx.at> 412007-09-29 Martin Rudalics <rudalics@gmx.at>
35 42
diff --git a/lisp/bs.el b/lisp/bs.el
index 9d89eb17b2d..e7a5e59b2fa 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -131,8 +131,6 @@
131 131
132;;; Code: 132;;; Code:
133 133
134(defvar font-lock-verbose)
135
136;; ---------------------------------------------------------------------- 134;; ----------------------------------------------------------------------
137;; Globals for customization 135;; Globals for customization
138;; ---------------------------------------------------------------------- 136;; ----------------------------------------------------------------------
@@ -658,6 +656,7 @@ to show always.
658 mode-name "Buffer-Selection-Menu" 656 mode-name "Buffer-Selection-Menu"
659 buffer-read-only t 657 buffer-read-only t
660 truncate-lines t 658 truncate-lines t
659 show-trailing-whitespace nil
661 font-lock-defaults '(bs-mode-font-lock-keywords t) 660 font-lock-defaults '(bs-mode-font-lock-keywords t)
662 font-lock-verbose nil) 661 font-lock-verbose nil)
663 (run-mode-hooks 'bs-mode-hook)) 662 (run-mode-hooks 'bs-mode-hook))
@@ -1034,7 +1033,7 @@ A value of nil means BUFFER belongs to a file."
1034;; ---------------------------------------------------------------------- 1033;; ----------------------------------------------------------------------
1035 1034
1036(defun bs-config-clear () 1035(defun bs-config-clear ()
1037 "*Reset all variables which specify a configuration. 1036 "Reset all variables which specify a configuration.
1038These variables are `bs-dont-show-regexp', `bs-must-show-regexp', 1037These variables are `bs-dont-show-regexp', `bs-must-show-regexp',
1039`bs-dont-show-function', `bs-must-show-function' and 1038`bs-dont-show-function', `bs-must-show-function' and
1040`bs-buffer-sort-function'." 1039`bs-buffer-sort-function'."
@@ -1383,9 +1382,8 @@ ALIGN is one of the symbols `left', `middle', or `right'."
1383 1382
1384(defun bs--show-header () 1383(defun bs--show-header ()
1385 "Insert header for Buffer Selection Menu in current buffer." 1384 "Insert header for Buffer Selection Menu in current buffer."
1386 (mapcar '(lambda (string) 1385 (dolist (string (bs--create-header))
1387 (insert string "\n")) 1386 (insert string "\n")))
1388 (bs--create-header)))
1389 1387
1390(defun bs--get-name-length () 1388(defun bs--get-name-length ()
1391 "Return value of `bs--name-entry-length'." 1389 "Return value of `bs--name-entry-length'."