aboutsummaryrefslogtreecommitdiff
path: root/modules/httpd-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 09:59:25 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 09:59:25 -0400
commit2f4f73f4a9cd6729e73ec2bea9dde0f066ce24f7 (patch)
tree76462917bf9b2cde001d66727773f3ea12912fbb /modules/httpd-config.el
parent6e667d18d7295b5fddaced070dece798212ce2fd (diff)
downloaddotemacs-2f4f73f4a9cd6729e73ec2bea9dde0f066ce24f7.tar.gz
dotemacs-2f4f73f4a9cd6729e73ec2bea9dde0f066ce24f7.zip
chore(elisp): clear byte-compile warnings (18 more modules)
Add declare-function/defvar declarations for lazily-loaded package symbols, reflow over-long docstrings, swap pdf-view-*-command interactive-only calls for their non-interactive twins, fix a malformed with-demoted-errors in ledger-config (the clean-buffer body was being read as the format string), and rename the unprefixed global wwwdir to cj/httpd-wwwdir (no external refs). No behavior change. Claude-Session: https://claude.ai/code/session_01BqrdWUo9GcznYX2pZr76gZ
Diffstat (limited to 'modules/httpd-config.el')
-rw-r--r--modules/httpd-config.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/httpd-config.el b/modules/httpd-config.el
index c90399425..60baf7e82 100644
--- a/modules/httpd-config.el
+++ b/modules/httpd-config.el
@@ -19,13 +19,13 @@
(use-package simple-httpd
:defer 1
:preface
- (defconst wwwdir (concat user-emacs-directory "www"))
- (defun check-or-create-wwwdir ()
- (unless (file-exists-p wwwdir)
- (make-directory wwwdir)))
- :init (check-or-create-wwwdir)
+ (defconst cj/httpd-wwwdir (concat user-emacs-directory "www"))
+ (defun cj/httpd-check-or-create-wwwdir ()
+ (unless (file-exists-p cj/httpd-wwwdir)
+ (make-directory cj/httpd-wwwdir)))
+ :init (cj/httpd-check-or-create-wwwdir)
:config
- (setq httpd-root wwwdir)
+ (setq httpd-root cj/httpd-wwwdir)
(setq httpd-show-backtrace-when-error t)
(setq httpd-serve-files t))