summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Lassieur <clement.lassieur@parrot.com>2018-04-19 11:57:19 +0200
committerClément Lassieur <clement.lassieur@parrot.com>2018-04-19 11:57:19 +0200
commit9b999a5564947ac7cc2f93db972de6e5ec32775e (patch)
tree74e60ed4adb461e14bf51398a79f24b4f9cb8d71
parent5ebaf8046d057cf547fb8e3a69e9e5bb46d98ff9 (diff)
downloadparrot-9b999a5564947ac7cc2f93db972de6e5ec32775e.tar.gz
style: change prefix from 'oe' to 'parrot'
-rw-r--r--parrot-style.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/parrot-style.el b/parrot-style.el
index 011593d..d0350d8 100644
--- a/parrot-style.el
+++ b/parrot-style.el
@@ -3,14 +3,14 @@
;; Usage:
;;
;; For automatic style detection, add:
-;; (add-hook 'c-mode-common-hook 'oe-find-code-style)
+;; (add-hook 'c-mode-common-hook 'parrot-find-code-style)
;;
;; To setup whitespace-mode, add:
;; (with-eval-after-load 'whitespace
-;; (oe-set-whitespace-style))
+;; (parrot-set-whitespace-style))
;;;###autoload
-(defun oe-find-code-style ()
+(defun parrot-find-code-style ()
(interactive)
(dtrt-indent-mode)
(pcase (list indent-tabs-mode tab-width c-basic-offset)
@@ -21,7 +21,7 @@
(whitespace-mode))
;;;###autoload
-(defun oe-cleanup-dwim (&optional begin end)
+(defun parrot-cleanup-dwim (&optional begin end)
(interactive)
(unless (and begin end)
(setq begin (point-min)
@@ -30,24 +30,24 @@
(whitespace-cleanup-region begin end))
;;;###autoload
-(defun oe-set-parrot-style ()
+(defun parrot-set-parrot-style ()
(interactive)
(setq indent-tabs-mode t
tab-width 8
c-basic-offset 8)
(c-set-style "linux")
- (oe-cleanup-dwim))
+ (parrot-cleanup-dwim))
;;;###autoload
-(defun oe-set-old-style ()
+(defun parrot-set-old-style ()
(interactive)
(c-set-style "k&r") ;override c-basic-offset
(setq indent-tabs-mode nil
c-basic-offset 4)
- (oe-cleanup-dwim))
+ (parrot-cleanup-dwim))
;;;###autoload
-(defun oe-set-whitespace-style ()
+(defun parrot-set-whitespace-style ()
(setq-default fill-column 80
whitespace-line-column fill-column)
(setq whitespace-style '(face