+2003-01-05 Dave Love <fx@gnu.org>
+
+ * buff-menu.el (Buffer-menu-execute): Fix for effect of header
+ line.
+
+ * international/mule-diag.el (non-iso-charset-alist): Add
+ vietnamese-tcvn.
+
+ * international/mule-cmds.el (locale-language-names): Use
+ Croatian, Swedish.
+
2003-01-05 Andreas Schwab <schwab@suse.de>
* buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer
(interactive)
(save-excursion
(goto-char (point-min))
- (forward-line 1)
+ (unless Buffer-menu-use-header-line
+ (forward-line 1))
(while (re-search-forward "^..S" nil t)
(let ((modp nil))
(save-excursion
(insert (if modp ?* ? ))))))
(save-excursion
(goto-char (point-min))
- (forward-line 1)
+ (unless Buffer-menu-use-header-line
+ (forward-line 1))
(let ((buff-menu-buffer (current-buffer))
(buffer-read-only nil))
- (while (search-forward "\nD" nil t)
+ (while (re-search-forward "^D" nil t)
(forward-char -1)
(let ((buf (Buffer-menu-buffer nil)))
(or (eq buf nil)
(progn (delete-char 1)
(insert ? ))
(delete-region (point) (progn (forward-line 1) (point)))
- (forward-char -1)))))))
+ (unless (bobp)
+ (forward-char -1))))))))
(defun Buffer-menu-select ()
"Select this line's buffer; also display buffers marked with `>'.
(let* ((old-buffer (current-buffer))
(standard-output standard-output)
(mode-end (make-string (- Buffer-menu-mode-width 2) ? ))
+ ;; Fixme: This is wrong for left-hand scroll-bars.
(header (concat "CRM " (Buffer-menu-buffer+size "Buffer" "Size")
" Mode" mode-end "File\n"))
list desired-point name file mode)