Skip to content

Commit

Permalink
autoload my-dark-theme and my-light-theme
Browse files Browse the repository at this point in the history
  • Loading branch information
semenInRussia committed Jun 18, 2024
1 parent be5c60b commit 66f7d5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

;;; Code:

;;;###autoload
(defun my-dark-theme ()
"Load dark theme."
(interactive)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

;;; Code:

;;;###autoload
(defun my-light-theme ()
"Load light theme."
(interactive)
Expand Down
7 changes: 1 addition & 6 deletions lisp/ui/my-modeline.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@
;; I need only to time (not date) in 24hour format
(defvar display-time-format) ;; make compile happy
(setq display-time-format "%H:%M")

(advice-add 'toggle-frame-fullscreen
:after
(defun my-toggle-display-time-mode (&rest args)
(ignore args)
(display-time-mode 'toggle)))
(display-time-mode t)

;; disable show line and column numbers in modeline, because it only
;; take off extra place
Expand Down

0 comments on commit 66f7d5e

Please sign in to comment.