Pārlūkot izejas kodu

Add assertion

master
10sr pirms 6 gadiem
vecāks
revīzija
584ed6df5e
Parakstījis: 10sr GPG atslēgas ID: C384BB17CBB19347
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el Parādīt failu

@@ -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)


Notiek ielāde…
Atcelt
Saglabāt