From: Stefan <xs...@ri...> - 2003-01-28 08:15:49
|
Hi, ecb-add-all-buffers-to-history adds the buffer in the wrong order. It puts the most recently used buffers at the bottom of the list and the seldom used buffers at the top of the list. The following change of the function reverses that order: (defun ecb-add-all-buffers-to-history () "Add all current file-buffers to the history-buffer of ECB." (interactive) (when (ecb-window-live-p ecb-history-buffer-name) (mapc (lambda (buffer) (when (buffer-file-name buffer) (ecb-add-item-to-history-buffer (buffer-file-name buffer)))) (reverse (buffer-list))) (ecb-sort-history-buffer)) (ecb-update-history-window (buffer-file-name (current-buffer)))) -- Stefan. |