summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-04-24 23:51:20 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-04-25 00:15:22 +0200
commitae9afca1f05f5c3c5ba2431524402246277bd915 (patch)
tree58c2278ccde3591b4c0627e0d5ddaeda490f3c0d
parent197dcc07e729e1df006a8d4c11105dea27ff455e (diff)
downloaddotfiles-ae9afca1f05f5c3c5ba2431524402246277bd915.tar.gz
dotfiles-ae9afca1f05f5c3c5ba2431524402246277bd915.tar.xz
dotfiles-ae9afca1f05f5c3c5ba2431524402246277bd915.zip
emacs: fix comments style
-rw-r--r--emacs29
1 files changed, 14 insertions, 15 deletions
diff --git a/emacs b/emacs
index bb0cbfa..aa6176a 100644
--- a/emacs
+++ b/emacs
@@ -36,7 +36,7 @@
(prefer-coding-system 'utf-8)
-; fix keys for urxvt
+;; fix keys for urxvt
(if (not window-system)
(mapc (lambda (map)
(define-key function-key-map
@@ -68,21 +68,21 @@
(setq auto-mode-alist (cons '("README" . text-mode) auto-mode-alist))
(setq compilation-scroll-output t)
-; css-mode
+;; css-mode
(setq cssm-indent-level 4)
(setq cssm-newline-before-closing-bracket t)
(setq cssm-indent-function #'cssm-c-style-indenter)
-; delphi-mode
+;; delphi-mode
(load "delphi-mode-ench.el")
-; removing annoyances
+;: removing annoyances
(setq inhibit-startup-message t)
(setq require-final-newline t)
(fset 'yes-or-no-p 'y-or-n-p)
(setq next-line-add-newlines nil)
-; general settings
+;: general settings
(require 'paren) (show-paren-mode t)
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
@@ -92,7 +92,7 @@
(require 'uniquify)
(setq uniquify-buffer-name-style 'reverse)
-; c/c++-mode stuff
+;; c/c++-mode stuff
(setq indent-tabs-mode t)
;(setq tab-width 8)
(setq c-default-style "linux")
@@ -114,7 +114,7 @@
(global-set-key [f12] 'indent-region)
-; Enable Doxygen syntax highlighting for C and C++
+;; Enable Doxygen syntax highlighting for C and C++
(when (require 'doxymacs nil 'noerror)
(add-hook 'font-lock-mode-hook
'(lambda ()
@@ -175,16 +175,16 @@
;; auto compile files
(require 'self-compile-mode)
-; keine Abfrage wenn ein template existiert
+;; keine Abfrage wenn ein template existiert
(setq template-query nil)
(require 'template-simple nil 'noerror)
-; remember last position in file
+;; remember last position in file
(setq save-place-file "~/.emacs.d/saveplace")
(setq-default save-place t)
(require 'saveplace)
-; clever auto complete mode
+;; clever auto complete mode
(require 'ido)
(ido-mode t)
(setq
@@ -196,7 +196,7 @@
ido-max-prospects 6
ido-confirm-unique-completion t)
-; server mode (to edit files with emacsclient)
+;; start server if not running (to edit files with emacsclient)
(when (require 'server nil 'noerror)
(if (and (fboundp 'server-running-p)
(not (server-running-p)))
@@ -217,12 +217,12 @@
(yas/initialize)
(yas/load-directory "~/.emacs.d/snippets"))
-; html-php-multi-mode
+;; html-php-multi-mode
(when (require 'html-php nil 'noerror)
(setq auto-mode-alist (cons '("\\.php" . html-php-mode) auto-mode-alist)))
;; copy/paste enhancements
-; share clipboard with other X11-Apps
+;; share clipboard with other X11-Apps
(when (fboundp 'x-cut-buffer-or-selection-value)
(progn
(setq x-select-enable-clipboard t)
@@ -300,8 +300,7 @@
;; windmove (only if available)
(when (fboundp 'windmove-default-keybindings) (windmove-default-keybindings))
-;; lisp
-; eassist
+;; lisp-eassist
(define-key lisp-mode-shared-map (kbd "M-m") 'eassist-list-methods)
;; dir-locals