Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Oct 6, 2019
1 parent febb7f8 commit 803754d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions lisp/init-elisp.el
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"Disable the checkdoc checker."
(setq flycheck-disabled-checkers '(emacs-lisp-checkdoc))))
:config
(if (boundp 'elisp-flymake-byte-compile-load-path)
(add-to-list 'elisp-flymake-byte-compile-load-path load-path))
(when (boundp 'elisp-flymake-byte-compile-load-path)
(add-to-list 'elisp-flymake-byte-compile-load-path load-path))

;; Align indent keywords
;; @see https://emacs.stackexchange.com/questions/10230/how-to-indent-keywords-aligned
Expand Down
20 changes: 10 additions & 10 deletions lisp/init-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -133,22 +133,22 @@
(use-package pomidor
:bind ("s-<f12>" . pomidor)
:init
(setq alert-default-style 'mode-line)
(setq alert-default-style 'mode-line
alert-severity-colors
`((urgent . ,(face-foreground 'error))
(high . ,(face-foreground 'all-the-icons-orange))
(moderate . ,(face-foreground 'warning))
(normal . ,(face-foreground 'success))
(low . ,(face-foreground 'all-the-icons-blue))
(trivial . ,(face-foreground 'all-the-icons-purple))))

(when sys/macp
(setq pomidor-play-sound-file
(lambda (file)
(start-process "pomidor-play-sound"
nil
"afplay"
file))))
:config
(setq alert-severity-colors
`((urgent . ,(face-foreground 'error))
(high . ,(face-foreground 'all-the-icons-orange))

This comment has been minimized.

Copy link
@ricardoamaro

ricardoamaro Oct 11, 2019

Contributor

This commit, and I believe this line in specific e generating the following error when running emacs -nw:

Warning (initialization): An error occurred while loading ‘/home/ricardo/.emacs.d/init.el’:

error: Invalid face, all-the-icons-orange

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.
(moderate . ,(face-foreground 'warning))
(normal . ,(face-foreground 'success))
(low . ,(face-foreground 'all-the-icons-blue))
(trivial . ,(face-foreground 'all-the-icons-purple)))))
file)))))

;; Persistent the scratch buffer
(use-package persistent-scratch
Expand Down

1 comment on commit 803754d

@seagle0128
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the reporting. I'm fixing it.

Please sign in to comment.