-2007-10-02 Adam Hupp <adam@hupp.org> (tiny change)
+2007-10-03 Juanma Barranquero <lekktu@gmail.com>
+
+ * bs.el: 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.
+
+2007-10-02 Adam Hupp <adam@hupp.org> (tiny change)
* progmodes/gdb-ui.el (pdb): Specify file for gud-break.
2007-09-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
- * term/x-win.el (x-gtk-stock-map): Version is 22.2
+ * term/x-win.el (x-gtk-stock-map): Version is 22.2.
2007-09-29 Martin Rudalics <rudalics@gmx.at>
;;; Code:
-(defvar font-lock-verbose)
-
;; ----------------------------------------------------------------------
;; Globals for customization
;; ----------------------------------------------------------------------
mode-name "Buffer-Selection-Menu"
buffer-read-only t
truncate-lines t
+ show-trailing-whitespace nil
font-lock-defaults '(bs-mode-font-lock-keywords t)
font-lock-verbose nil)
(run-mode-hooks 'bs-mode-hook))
;; ----------------------------------------------------------------------
(defun bs-config-clear ()
- "*Reset all variables which specify a configuration.
+ "Reset all variables which specify a configuration.
These variables are `bs-dont-show-regexp', `bs-must-show-regexp',
`bs-dont-show-function', `bs-must-show-function' and
`bs-buffer-sort-function'."
(defun bs--show-header ()
"Insert header for Buffer Selection Menu in current buffer."
- (mapcar '(lambda (string)
- (insert string "\n"))
- (bs--create-header)))
+ (dolist (string (bs--create-header))
+ (insert string "\n")))
(defun bs--get-name-length ()
"Return value of `bs--name-entry-length'."