From: Masatake YAMATO Date: Thu, 19 Jan 2006 10:57:44 +0000 (+0000) Subject: * progmodes/cpp.el (cpp-edit-load): Make the order of listed conditions in a base... X-Git-Tag: emacs-pretest-22.0.90~4697 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a8ee44887f9429e294cf7a32ce0c158930104d4;p=emacs.git * 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 --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ade2714391..9e67c7dacdf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index cf119bde719..06a141016e5 100644 --- a/lisp/progmodes/cpp.el +++ b/lisp/progmodes/cpp.el @@ -526,6 +526,8 @@ You can also use the keyboard accelerators indicated like this: [K]ey." '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))