Skip to content

Commit f6fef60

Browse files
committed
Fix buffer mutation in C++ access modifiers.
1 parent 21b7c8d commit f6fef60

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)