Fix obsolete (when|if)-let messages in Emacs 26
This commit is contained in:
parent
e168118243
commit
76a4ae459d
40 changed files with 110 additions and 103 deletions
|
@ -35,9 +35,9 @@ compilation database is present in the project.")
|
|||
(or (file-exists-p (expand-file-name
|
||||
(concat (file-name-sans-extension buffer-file-name)
|
||||
".cpp")))
|
||||
(when-let (file (car-safe (projectile-get-other-files
|
||||
buffer-file-name
|
||||
(projectile-current-project-files))))
|
||||
(when-let* ((file (car-safe (projectile-get-other-files
|
||||
buffer-file-name
|
||||
(projectile-current-project-files)))))
|
||||
(equal (file-name-extension file) "cpp")))))
|
||||
|
||||
(defun +cc-objc-header-file-p ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue