diff options
Diffstat (limited to 'core/ext')
-rw-r--r-- | core/ext/pm/buffer_browser.lua | 2 | ||||
-rw-r--r-- | core/ext/pm/ctags_browser.lua | 2 | ||||
-rw-r--r-- | core/ext/pm/file_browser.lua | 2 | ||||
-rw-r--r-- | core/ext/pm/macro_browser.lua | 2 | ||||
-rw-r--r-- | core/ext/pm/modules_browser.lua | 2 | ||||
-rw-r--r-- | core/ext/pm/project_browser.lua | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/core/ext/pm/buffer_browser.lua b/core/ext/pm/buffer_browser.lua index e33c15aa..61f8b26e 100644 --- a/core/ext/pm/buffer_browser.lua +++ b/core/ext/pm/buffer_browser.lua @@ -8,7 +8,7 @@ local locale = _G.locale -- It is enabled with the prefix 'buffers' in the project manager entry field. module('textadept.pm.browsers.buffer', package.seeall) -textadept.pm.add_browser('buffers') +if not RESETTING then textadept.pm.add_browser('buffers') end function matches(entry_text) return entry_text:sub(1, 7) == 'buffers' diff --git a/core/ext/pm/ctags_browser.lua b/core/ext/pm/ctags_browser.lua index 01f8cc12..503804c2 100644 --- a/core/ext/pm/ctags_browser.lua +++ b/core/ext/pm/ctags_browser.lua @@ -10,7 +10,7 @@ local locale = _G.locale -- is specified, the current file is parsed via ctags and its structure shown. module('textadept.pm.browsers.ctags', package.seeall) -textadept.pm.add_browser('ctags') +if not RESETTING then textadept.pm.add_browser('ctags') end local FILE_OUT = '/tmp/textadept_output' diff --git a/core/ext/pm/file_browser.lua b/core/ext/pm/file_browser.lua index 40f14f8b..5568a061 100644 --- a/core/ext/pm/file_browser.lua +++ b/core/ext/pm/file_browser.lua @@ -9,7 +9,7 @@ local locale = _G.locale -- manager entry field. module('textadept.pm.browsers.file', package.seeall) -textadept.pm.add_browser(not WIN32 and '/' or 'C:\\') +if not RESETTING then textadept.pm.add_browser(not WIN32 and '/' or 'C:\\') end local lfs = require 'lfs' local os = require 'os' diff --git a/core/ext/pm/macro_browser.lua b/core/ext/pm/macro_browser.lua index 32bd86ff..d7cde6bd 100644 --- a/core/ext/pm/macro_browser.lua +++ b/core/ext/pm/macro_browser.lua @@ -8,7 +8,7 @@ local locale = _G.locale -- It is enabled with the prefix 'macros' in the project manager entry field. module('textadept.pm.browsers.macro', package.seeall) -textadept.pm.add_browser('macros') +if not RESETTING then textadept.pm.add_browser('macros') end function matches(entry_text) return entry_text:sub(1, 7) == 'macros' diff --git a/core/ext/pm/modules_browser.lua b/core/ext/pm/modules_browser.lua index fada137b..37e83592 100644 --- a/core/ext/pm/modules_browser.lua +++ b/core/ext/pm/modules_browser.lua @@ -8,7 +8,7 @@ local locale = _G.locale -- It is enabled with the prefix 'modules' in the project manager entry field. module('textadept.pm.browsers.modules', package.seeall) -textadept.pm.add_browser('modules') +if not RESETTING then textadept.pm.add_browser('modules') end local lfs = require 'lfs' local os = require 'os' diff --git a/core/ext/pm/project_browser.lua b/core/ext/pm/project_browser.lua index f034e41c..d2719625 100644 --- a/core/ext/pm/project_browser.lua +++ b/core/ext/pm/project_browser.lua @@ -8,7 +8,7 @@ local locale = _G.locale -- It is enabled with the prefix 'project' in the project manager entry field. module('textadept.pm.browsers.project', package.seeall) -textadept.pm.add_browser('project') +if not RESETTING then textadept.pm.add_browser('project') end local lfs = require 'lfs' local os = require 'os' |