File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4042,7 +4042,8 @@ so that no other packages disturb the match data."
40424042 (unless buf
40434043 (kill-buffer )))))
40444044 (lispy--file-list)))
4045- (semanticdb-save-all-db))
4045+ (semanticdb-save-db
4046+ (semanticdb-directory-loaded-p dir)))
40464047
40474048(defun lispy--fetch-this-file-tags ()
40484049 " Fetch this file tags."
@@ -4257,10 +4258,9 @@ For example, a `setq' statement is amended with variable name that it uses."
42574258 (let* ((this-file (expand-file-name (buffer-file-name )))
42584259 (default-directory path)
42594260 (db (or (semanticdb-directory-loaded-p path)
4261+ (lispy-build-semanticdb path)
42604262 (error " Semantic not loaded " )))
4261- (db-tables (semanticdb-get-database-tables db)
4262- ; ; (aref db 6)
4263- )
4263+ (db-tables (semanticdb-get-database-tables db))
42644264 db-tables-with-mode
42654265 was-updated)
42664266 (unless (lexical-let ((db-files
You can’t perform that action at this time.
0 commit comments