Skip to content

Instantly share code, notes, and snippets.

@galdor
galdor / init.el
Last active September 2, 2023 14:24
Emacs make-mode configuration
(defun g-init-make-mode ()
(setq-local tab-width 8))
(use-package make-mode
:config
;; Remove negation character highlighting causing the "n" in "ifndef" to be
;; highlighted differently. Infortunately means we have to hardcode extra
;; regexp because make-mode hard codes them too.
(setq makefile-gmake-font-lock-keywords
(makefile-make-font-lock-keywords
@galdor
galdor / local-hyperspec.el
Created June 27, 2023 13:39
Emacs configuration to read the local CL HyperSpec in Eww
(let ((path (g-home-path "doc/lisp/hyperspec/HyperSpec/")))
(when (file-exists-p path)
(setq common-lisp-hyperspec-root (concat "file://" path))
(let ((regexp (concat "\\`file://" (regexp-quote path))))
(add-to-list 'browse-url-handlers (cons regexp #'eww)))))
@galdor
galdor / caa.md
Last active June 24, 2022 14:25
Eventline CAA

By submitting a pull request, you disavow any rights or claims to any changes submitted to the Eventline project and assign the copyright of those changes to Exograd SAS.

If you cannot or do not want to reassign those rights (your employment contract for your employer may not allow this), you should not submit a pull request. Open an issue and someone else can do the work.