From 678187cf7edfe90e16ec3274abe3ebe0067d934b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 14 May 2019 16:43:54 -0500 Subject: code-cleanup: remove unimportant code, this already exists with use-package: :after --- modules/init-utils.el | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'modules/init-utils.el') diff --git a/modules/init-utils.el b/modules/init-utils.el index 45f582f..dd1953b 100644 --- a/modules/init-utils.el +++ b/modules/init-utils.el @@ -31,7 +31,8 @@ read the .el files" (floor (* 0.9 (face-attribute 'default :height))))) -;; Not original from Sacha. Taken from: http://emacsredux.com/blog/2013/05/22/smarter-navigation-to-the-beginning-of-a-line/ +;; Not original from Sacha. +;; Taken from: http://emacsredux.com/blog/2013/05/22/smarter-navigation-to-the-beginning-of-a-line/ (defun sacha/smarter-move-beginning-of-line (arg) "Move point back to indentation of beginning of line. @@ -55,15 +56,5 @@ point reaches the beginning or end of the buffer, stop there." (when (= orig-point (point)) (move-beginning-of-line 1)))) ;;------------------------------------------------------------------------------ - -;; This is borrowed from https://github.com/purcell/emacs.d/blob/master/lisp/init-utils.el by Steve Purcell but I have added some stuff. -(if (fboundp 'with-eval-after-load) - (defalias 'after-load 'with-eval-after-load) - (defmacro after-load (feature &rest body) - "After FEATURE is loaded, evaluate BODY." - (declare (indent defun)) - `(eval-after-load, feature - '(progn ,@body)))) - (provide 'init-utils) ;;; init-utils.el ends here -- cgit v1.2.3