Skip to content

Commit 60c57d6

Browse files
authored
Merge pull request #47 from Janfel/fix-buffer-mutation
Fix buffer mutation in C++ access modifiers.
2 parents 21b7c8d + f6fef60 commit 60c57d6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

c++-mode/private

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- mode: snippet -*-
22
# name: private
3+
# expand-env: ((yas-also-auto-indent-first-line t))
34
# --
4-
private:`(progn (indent-according-to-mode) "")`
5+
private:
56
$0

c++-mode/protected

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- mode: snippet -*-
22
# name: protected
3+
# expand-env: ((yas-also-auto-indent-first-line t))
34
# --
4-
protected:`(progn (indent-according-to-mode) "")`
5+
protected:
56
$0

c++-mode/public

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- mode: snippet -*-
22
# name: public
3+
# expand-env: ((yas-also-auto-indent-first-line t))
34
# --
4-
public:`(progn (indent-according-to-mode) "")`
5+
public:
56
$0

0 commit comments

Comments
 (0)