Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
csantosb committed Dec 20, 2024
1 parent b257d98 commit 23b7620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fpga-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ BUF-NAME determines the name of the compilation buffer."
`(define-compilation-mode ,name ,desc ,docstring
(setq-local compilation-error-regexp-alist (mapcar #'car ,compile-re))
(setq-local compilation-error-regexp-alist-alist ,compile-re)
(when ,buf (rename-buffer ,buf-name))
(when ,buf-name (rename-buffer ,buf-name))
(setq truncate-lines t)
(goto-char (point-max))))

Expand Down Expand Up @@ -231,7 +231,7 @@ FONT-LOCK-KWDS determine syntax highlighting for the shell mode."
:global nil
(setq-local compilation-error-regexp-alist (mapcar #'car ,compile-re))
(setq-local compilation-error-regexp-alist-alist ,compile-re)
(when ,buf (rename-buffer ,buf-name))
(when ,buf-name (rename-buffer ,buf-name))
(setq truncate-lines t)
(goto-char (point-max))
(setq-local comint-dynamic-complete-functions '(,capf-fn)))
Expand Down

0 comments on commit 23b7620

Please sign in to comment.