From d44627ac7152bfd1316080d810ad4a4c1114bea8 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Tue, 11 Dec 2018 19:59:10 -0500 Subject: [PATCH] fixed compile warnings --- conf/main.el | 6 +++--- conf/main.org | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/main.el b/conf/main.el index edc5617..a188d39 100644 --- a/conf/main.el +++ b/conf/main.el @@ -267,7 +267,7 @@ filesystem and is a usb drive." (defun nd/mount-device (dev &rest opts) "Mount device DEV using udevil." - (call-process "udevil" nil nil nil "mount" s)) + (call-process "udevil" nil nil nil "mount" dev)) (defun nd/get-mountpoint (dev) "Get the filesystem mountpoint for device DEV." @@ -401,7 +401,7 @@ filesystem and is a usb drive." (lambda () (setq indent-tabs-mode t) (setq tab-width 4) - (setq python-indent 4))) + (setq python-offset 4))) (setq python-shell-interpreter "ipython" python-shell-interpreter-args "--colors=Linux --profile=default") @@ -583,7 +583,7 @@ and reverts all todo keywords to TODO." (call-interactively 'org-insert-todo-heading) (insert "\n") (funcall-interactively 'org-time-stamp-inactive '(16)) - (previous-line))) + (forward-line -1))) (defun nd/org-delete-subtree () "Delete the entire subtree under the current heading without sending to kill ring." diff --git a/conf/main.org b/conf/main.org index 1cd4788..7d1a706 100644 --- a/conf/main.org +++ b/conf/main.org @@ -334,7 +334,7 @@ filesystem and is a usb drive." (defun nd/mount-device (dev &rest opts) "Mount device DEV using udevil." - (call-process "udevil" nil nil nil "mount" s)) + (call-process "udevil" nil nil nil "mount" dev)) (defun nd/get-mountpoint (dev) "Get the filesystem mountpoint for device DEV." @@ -503,7 +503,7 @@ NOTES: (lambda () (setq indent-tabs-mode t) (setq tab-width 4) - (setq python-indent 4))) + (setq python-offset 4))) (setq python-shell-interpreter "ipython" python-shell-interpreter-args "--colors=Linux --profile=default") @@ -741,7 +741,7 @@ and reverts all todo keywords to TODO." (call-interactively 'org-insert-todo-heading) (insert "\n") (funcall-interactively 'org-time-stamp-inactive '(16)) - (previous-line))) + (forward-line -1))) (defun nd/org-delete-subtree () "Delete the entire subtree under the current heading without sending to kill ring."