]> git.earman.xyz Git - emacsinit.git/commitdiff
Tweaks
authorrearman <rearman@r717.net>
Wed, 4 Dec 2024 15:50:01 +0000 (10:50 -0500)
committerrearman <rearman@r717.net>
Wed, 4 Dec 2024 15:50:01 +0000 (10:50 -0500)
init.el
re/re-refrigeration-defuns.el

diff --git a/init.el b/init.el
index 20c48d5956310ec4f97bd5f3b65282fe5440ee73..07cccdc4cc4ca5773b3c1f471b02b724e4db74d4 100644 (file)
--- a/init.el
+++ b/init.el
 ;; Bespoken framework
 (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
 
-(unless (file-exists-p custom-file) (make-empty-file custom-file))
-
-(load custom-file)
+(load custom-file :no-error-if-file-is-missing)
 
 ;;; init.el ends here
index 9fa6ea97f3ef5553f3550ef386ddd4be701f9fd3..92d7245bde82e491e0178b6833c58398f437cd76 100644 (file)
@@ -55,12 +55,12 @@ Inputs are feet/minute, width (in) and height (in)."
   "Calculate the saturated water pressure at a temp (F)."
   (+ 0.0182795
      (* temp 0.001029904)
-     (* (square temp) 2.579408e-05)
+     (* (square temp) (E 2.579408 -5)
      (* (cube temp) (E 2.400493 -7))
      (* (^ temp 4) (E 8.100939 -10))
      (* (^ temp 5) (E 3.256805 -11))
      (* (^ temp 6) (E -1.001922 -13))
-     (* (^ temp 7) (E 2.44161 -16))))
+     (* (^ temp 7) (E 2.44161 -16)))))
 
 (defun hum-ratio (humidity swp)
   "Calulate the humidity ratio.