|
From: | Kevin Rodgers |
Subject: | Re: make-auto-save-file-name: not using name transforms for mere buffers |
Date: | Fri, 12 Dec 2003 16:02:49 -0700 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Florian von Savigny wrote:
And one call for help: could anyone please suggest a way of sorting the list of alists I called "file-systems" demonstrated earlier in this thread such that those alists whose car is the longer string come first?
;; Sort ((MOUNT-POINT . FILESYSTEM-TYPE) ...) alist by MOUNT-POINT: (sort file-systems (lambda (cons-1 cons-2) (string-lessp (car cons-1) (car cons-2)))) -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |