]> code.delx.au - gnu-emacs-elpa/blobdiff - README.md
Rename to gnome-c-style
[gnu-emacs-elpa] / README.md
index a8f06a5be0fdefe77f52c1048deec216c1d066d2..336a4629fc0597b6a0f02568e3a5c4a4cb9d86be 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-gnome-minor-mode
+gnome-c-style
 ======
 
 In the C coding style commonly used in GNOME, identifiers are written
@@ -6,7 +6,7 @@ in camel case and function arguments are aligned to the right end.
 That makes it a bit cumbersome to keep your code consistent with the
 style, even with align.el or plugins like yasnippet.
 
-gnome-minor-mode is an Emacs minor mode intended to help editing C
+gnome-c-style is an Emacs minor mode intended to help editing C
 source code in that style.  It mainly provides two features: text
 alignment and snippet insersion.
 
@@ -18,8 +18,8 @@ Install
 * Add the following lines to ~/.emacs/init.el:
 
 ```
-(autoload 'gnome-minor-mode "gnome-minor-mode" "GNOME minor mode" t)
-(add-hook 'c-mode-hook 'gnome-minor-mode)
+(autoload 'gnome-c-style-mode "gnome-c-style" "GNOME-style C minor mode" t)
+(add-hook 'c-mode-hook 'gnome-c-style-mode)
 ```
 
 Usage