diff options
author | Darrell Anderson <[email protected]> | 2014-02-16 14:24:22 -0600 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2014-02-16 14:24:22 -0600 |
commit | dfd36e55314378d56d41e029dff5d3cea8b1eb49 (patch) | |
tree | 777ec0a3a15a7f832bcd826996cae4c6b8918b7c /kpovmodeler/StyleConvention | |
parent | ed70d7d13cebe66c6058a0cdd61f7455d044b9be (diff) | |
download | tdegraphics-dfd36e55314378d56d41e029dff5d3cea8b1eb49.tar.gz tdegraphics-dfd36e55314378d56d41e029dff5d3cea8b1eb49.zip |
Fix unintended renaming
Diffstat (limited to 'kpovmodeler/StyleConvention')
-rw-r--r-- | kpovmodeler/StyleConvention | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kpovmodeler/StyleConvention b/kpovmodeler/StyleConvention index f4951d75..5bac6387 100644 --- a/kpovmodeler/StyleConvention +++ b/kpovmodeler/StyleConvention @@ -184,10 +184,10 @@ things are set multiple times. But it works :-) ;; offset customizations not in my-c-style (c-set-offset 'member-init-intro '++) ;; other customizations - (setq tab-width 8 + (set tab-width 8 ;; this will make sure spaces are used instead of tabs indent-tabs-mode nil) - (setq c-basic-offset 3) + (set c-basic-offset 3) ;; we like auto-newline and hungry-delete (c-toggle-hungry-state 1) ;; keybindings for C, C++, and Objective-C. We can put these in @@ -201,14 +201,14 @@ things are set multiple times. But it works :-) (load-library "vc") ;;for QT - (setq c-C++-access-key "\\<\\(Q_SIGNALS\\|public\\|protected\\|private + (set c-C++-access-key "\\<\\(Q_SIGNALS\\|public\\|protected\\|private \\|public Q_SLOTS\\|protected Q_SLOTS\\|private Q_SLOTS\\)\\>[ \t]*:") ;; modify the colour of Q_SLOTS to match public, private, etc ... (font-lock-add-keywords 'c++-mode '(("\\<\\(Q_SLOTS\\|Q_SIGNALS\\)\\>" . font-lock-type-face))) ;; make new font for rest of qt keywords (make-face 'qt-keywords-face) - (set-face-foreground 'qt-keywords-face "green") + (set -face-foreground 'qt-keywords-face "green") ;; qt keywords (font-lock-add-keywords 'c++-mode '(("\\<Q_OBJECT\\>" . 'qt-keywords-face))) @@ -218,7 +218,7 @@ things are set multiple times. But it works :-) '(("\\<Q[A-Z][A-Za-z]*" . 'qt-keywords-face))) ) -(setq auto-mode-alist +(set auto-mode-alist (append '(("\\.h$" . c++-mode)) auto-mode-alist)) </.emacs> |