comparison lisp/progmodes/cpp.el @ 68254:e330fc29ae3e

* progmodes/cpp.el (cpp-edit-load): Make the order of listed conditions in a base C code buffer and its associate CPP Edit buffer the same.
author Masatake YAMATO <jet@gyve.org>
date Thu, 19 Jan 2006 10:57:44 +0000
parents 4009e1aa393f
children dc49655f57ae 5b7d410e31f9
comparison
equal deleted inserted replaced
68253:10bc0cd3a053 68254:e330fc29ae3e
524 (insert " [Y] ") 524 (insert " [Y] ")
525 (cpp-make-button (car (rassq cpp-unknown-writable cpp-writable-list)) 525 (cpp-make-button (car (rassq cpp-unknown-writable cpp-writable-list))
526 'cpp-edit-toggle-unknown) 526 'cpp-edit-toggle-unknown)
527 (insert (format "\n\n\n%39s: %14s %14s %7s\n\n" "Expression" 527 (insert (format "\n\n\n%39s: %14s %14s %7s\n\n" "Expression"
528 "[T]rue Face" "[F]alse Face" "[W]rite")) 528 "[T]rue Face" "[F]alse Face" "[W]rite"))
529
530 (setq symbols (reverse symbols))
529 (while symbols 531 (while symbols
530 (let* ((symbol (car symbols)) 532 (let* ((symbol (car symbols))
531 (entry (assoc symbol cpp-edit-list)) 533 (entry (assoc symbol cpp-edit-list))
532 (true (nth 1 entry)) 534 (true (nth 1 entry))
533 (false (nth 2 entry)) 535 (false (nth 2 entry))