-
Joram Schrijver authored
- mode-line.lisp is now more clearly organized into sections. - Mode lines are now only stored in a new list *mode-lines*, instead of in the head they're in. This simplifies various different operations, at the cost of having to loop through *mode-lines* to find a mode line associated with a head. This was deemed acceptable because the number of mode lines is generally very small. HEAD-MODE-LINE is now a function that searches through *mode-lines* to find the mode line belonging to a head, instead of an accessor. (SETF HEAD-MODE-LINE) is no longer available. This also means that the HEAD struct is now equivalent to FRAME. - A multitude of mode line related functions is now simpler. In the process of updating all functions to properly handle the new structure, several of them were simplified. - Creation and destruction of mode lines is now more clearly defined. Instead of mode lines being destroyed and created in different ways, it is now handled through MAKE-MODE-LINE and DESTROY-MODE-LINE.
9c9b9363