# HG changeset patch # User Masatake YAMATO # Date 1137668264 0 # Node ID e330fc29ae3edd39dd55696d017d93182eee34c0 # Parent 10bc0cd3a053cc44ca41c0023f524488bd18584d * 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. diff -r 10bc0cd3a053 -r e330fc29ae3e lisp/ChangeLog --- a/lisp/ChangeLog Thu Jan 19 06:36:46 2006 +0000 +++ b/lisp/ChangeLog Thu Jan 19 10:57:44 2006 +0000 @@ -1,3 +1,9 @@ +2006-01-19 Masatake YAMATO + + * 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. + 2006-01-19 Kenichi Handa * international/mule.el (auto-coding-regexp-alist-lookup): New diff -r 10bc0cd3a053 -r e330fc29ae3e lisp/progmodes/cpp.el --- a/lisp/progmodes/cpp.el Thu Jan 19 06:36:46 2006 +0000 +++ b/lisp/progmodes/cpp.el Thu Jan 19 10:57:44 2006 +0000 @@ -526,6 +526,8 @@ 'cpp-edit-toggle-unknown) (insert (format "\n\n\n%39s: %14s %14s %7s\n\n" "Expression" "[T]rue Face" "[F]alse Face" "[W]rite")) + + (setq symbols (reverse symbols)) (while symbols (let* ((symbol (car symbols)) (entry (assoc symbol cpp-edit-list))