Skip to content

Commit

Permalink
bring code up to MELPA standards
Browse files Browse the repository at this point in the history
  • Loading branch information
UwUnyaa committed May 26, 2020
1 parent 7ee9c97 commit cfca525
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions presentation-mode.el
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
;;; presentation-mode.el --- temporary font size adjustment for presenting -*- lexical-binding: t; coding: utf-8 -*-
;;; Version: 0.0.2

;; Version: 1.0.0
;; Author: UwUnyaa (https://github.com/UwUnyaa)
;; URL: https://github.com/UwUnyaa/presentation-mode
;; Package-Requires: ((emacs "24.4"))

;;; license: GPLv3 or newer

Expand Down Expand Up @@ -30,12 +31,12 @@

;;; Code:

(defgroup presentation-mode '()
(defgroup presentation '()
"Global minor mode to enlarge font size for presentations."
:group 'faces)

(defcustom presentation-mode-default-font-size 120
"Default font size for `presentation-mode' when enabled."
"Default font size for function `presentation-mode' when enabled."
:type 'number)

(defcustom presentation-mode-adjust-font-step 10
Expand All @@ -51,7 +52,7 @@ Used by `presentation-mode-increase-font-size' and

(defvar presentation-mode--original-font-size
(presentation-mode-get-font-size)
"Original font size to revert to when disabling `presentation-mode'.")
"Original font size to revert to when disabling function `presentation-mode'.")

(defun presentation-mode-set-font-size (size)
"Set the default font size to SIZE."
Expand Down

0 comments on commit cfca525

Please sign in to comment.