diff options
author | Jesús <heckyel@hyperbola.info> | 2019-05-14 16:43:54 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-05-14 16:43:54 -0500 |
commit | 678187cf7edfe90e16ec3274abe3ebe0067d934b (patch) | |
tree | efd6ae75702777121bdd14da0d93eafc4a8d4e6a /modules/init-utils.el | |
parent | e60a671ef6babdde580cec41dab6263efedb5764 (diff) | |
download | emacs-personal-678187cf7edfe90e16ec3274abe3ebe0067d934b.tar.lz emacs-personal-678187cf7edfe90e16ec3274abe3ebe0067d934b.tar.xz emacs-personal-678187cf7edfe90e16ec3274abe3ebe0067d934b.zip |
code-cleanup: remove unimportant code, this already exists with use-package: :after
Diffstat (limited to 'modules/init-utils.el')
-rw-r--r-- | modules/init-utils.el | 13 |
1 files changed, 2 insertions, 11 deletions
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 |