Change to when-let* and if-let*
This commit is contained in:
@ -40,8 +40,8 @@ from inside a C++-style single-line comment."
|
||||
(interactive "*Pi")
|
||||
(when (and arg (< (prefix-numeric-value arg) 0))
|
||||
(user-error "Count cannot be negative"))
|
||||
(if-let ((bounds (c-comments-bounds-at-point))
|
||||
((or always-continue (not (nth 7 (syntax-ppss))))))
|
||||
(if-let* ((bounds (c-comments-bounds-at-point))
|
||||
((or always-continue (not (nth 7 (syntax-ppss))))))
|
||||
(progn
|
||||
(when (c-comments--need-comment-terminator bounds)
|
||||
(save-excursion
|
||||
|
||||
Reference in New Issue
Block a user