Ver a proveniência

Add assertion

master
10sr há 7 anos
ascendente
cometimento
584ed6df5e
Assinados por: 10sr ID da chave GPG: C384BB17CBB19347
1 ficheiros alterados com 3 adições e 0 eliminações
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el Ver ficheiro

@@ -2479,6 +2479,9 @@ When PATH is omitted or nil, it is calculated from current file or directory."
(setq path
(or path
(git-walktree--path-in-repository path)))
;; PATH must not start with and end with slashes
(cl-assert (not (string-match "\\`/" path)))
(cl-assert (not (string-match "/\\'" path)))

(let ((obj nil))
(while (not obj)


Carregando…
Cancelar
Guardar