mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* lisp/cedet/semantic/db.el (semanticdb-create-database): Remove obsolete arg
This commit is contained in:
parent
40dafa9af0
commit
7275cecdf9
@ -408,6 +408,7 @@ right of \"%x\", trailing zero units are not output."
|
||||
"Formatting used by the function `seconds-to-string'.")
|
||||
;;;###autoload
|
||||
(defun seconds-to-string (delay)
|
||||
;; FIXME: There's a similar (tho fancier) function in mastodon.el!
|
||||
"Convert the time interval in seconds to a short string."
|
||||
(cond ((> 0 delay) (concat "-" (seconds-to-string (- delay))))
|
||||
((= 0 delay) "0s")
|
||||
|
@ -393,9 +393,7 @@ If a database for DIRECTORY has already been created, return it.
|
||||
If DIRECTORY doesn't exist, create a new one."
|
||||
(let ((db (semanticdb-directory-loaded-p directory)))
|
||||
(unless db
|
||||
(setq db (semanticdb-project-database
|
||||
(file-name-nondirectory directory)
|
||||
:tables nil))
|
||||
(setq db (semanticdb-project-database :tables nil))
|
||||
;; Set this up here. We can't put it in the constructor because it
|
||||
;; would be saved, and we want DB files to be portable.
|
||||
(setf (slot-value db 'reference-directory) (file-truename directory)))
|
||||
|
Loading…
Reference in New Issue
Block a user