summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-05-13 17:59:01 +1000
committerMaxime Coste <mawww@kakoune.org>2018-05-14 08:23:00 +1000
commit75eb293f986f5674041159c714e1fffbe773b04b (patch)
tree9ac91714c9832b8da3ba8d25f01a515af03ac3cd /src/context.hh
parentb204e773d461233aa9b106d32d051333865b2d1b (diff)
Rename Context::Flags::Transient to Context::Flags::Draft
Draft is well establish and all draft context are transient.
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/context.hh b/src/context.hh
index 11a9806b..f4562cf3 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -50,8 +50,8 @@ class Context
public:
enum class Flags
{
- None = 0,
- Transient = 1,
+ None = 0,
+ Draft = 1,
};
friend constexpr bool with_bit_ops(Meta::Type<Flags>) { return true; }
@@ -121,7 +121,7 @@ public:
JumpList& jump_list() { return m_jump_list; }
void push_jump(bool force = false)
{
- if (force or not (m_flags & Flags::Transient))
+ if (force or not (m_flags & Flags::Draft))
m_jump_list.push(selections());
}