diff --git a/init.el b/init.el index a58f22ca..f1e6a6ba 100644 --- a/init.el +++ b/init.el @@ -13,6 +13,11 @@ (replace-regexp-in-string "\n$" "" (shell-command-to-string "git config --get user.name"))) +(defun emacs24_4-p () + (or (and (>= emacs-major-version 24) + (>= emacs-minor-version 4)) + (>= emacs-major-version 25))) + ;; ============================================================================= ;; GUI Disables ;; ============================================================================= @@ -495,11 +500,6 @@ ;; functions ;; ============================================================================= -(defun emacs24_4-p () - (or (and (>= emacs-major-version 24) - (>= emacs-minor-version 4)) - (>= emacs-major-version 25))) - (defun sudo-edit (&optional arg) "Edit currently visited file as root.