Patch from Valery V. Vorotyntsev in emacs-jabber-general
This commit is contained in:
parent
ea2b0b32ff
commit
adf999c9ee
|
@ -199,8 +199,14 @@ of the log file."
|
|||
(if jabber-use-global-history
|
||||
(insert-file-contents history-file)
|
||||
(let* ((lines-collected nil)
|
||||
(matched-files (directory-files jabber-history-dir t (file-name-nondirectory history-file)))
|
||||
(matched-files (cons (car matched-files) (sort (cdr matched-files) 'string>-numerical))))
|
||||
(matched-files
|
||||
(directory-files jabber-history-dir t
|
||||
(concat "^"
|
||||
(regexp-quote (file-name-nondirectory
|
||||
history-file)))))
|
||||
(matched-files
|
||||
(cons (car matched-files)
|
||||
(sort (cdr matched-files) 'string>-numerical))))
|
||||
(while (not lines-collected)
|
||||
(if (null matched-files)
|
||||
(setq lines-collected t)
|
||||
|
|
Loading…
Reference in New Issue
Block a user