diff options
-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 |