Changeset 6694
- Timestamp:
- Jun 12, 2007, 12:08:43 AM (17 years ago)
- File:
-
- 1 edited
-
branches/ide-1.0/ccl/hemlock/src/modeline.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ide-1.0/ccl/hemlock/src/modeline.lisp
r865 r6694 106 106 other than :DEFAULT" 107 107 (declare (ignore window)) 108 (let* ((external-format (buffer-external-format buffer))) 109 (case external-format 110 ((:unix nil)) 111 (:macos "[CR] ") 112 (:cp/m "[CRLF] "))))) 108 (let* ((line-termination-string 109 (case (buffer-line-termination buffer) 110 ((:unix nil)) 111 (:macos "CR") 112 (:cp/m "CRLF"))) 113 (doc (buffer-document buffer)) 114 (encoding-name (if doc 115 (document-encoding-name doc) 116 "Default"))) 117 (format nil "[~a~@[ ~a~]] " 118 encoding-name line-termination-string)))) 113 119 114 120 … … 211 217 ""))) 212 218 219 220 213 221 (make-modeline-field 214 222 :name :buffer-pathname 215 223 :function 'buffer-pathname-ml-field-fun) 224 225 216 226 217 227 (make-modeline-field … … 230 240 (modeline-field :external-format) 231 241 (modeline-field :package) 232 (modeline-field :modes) 233 (modeline-field :buffer-name) 234 (modeline-field :buffer-pathname)) 242 (modeline-field :modes)) 235 243 "This is the default value for \"Default Modeline Fields\".") 236 244
Note:
See TracChangeset
for help on using the changeset viewer.
