about summary refs log tree commit diff
path: root/configs/shared/.emacs.d
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-22T21·04+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-12-24T15·21+0000
commit56692b38331d5845bf4010a2485482732a89be3e (patch)
tree283377b96eb5d95f659d4f6af1b3db93aaa90e49 /configs/shared/.emacs.d
parentafcd663c7ca881de0cfe6de3589e4bcb80e8263b (diff)
Update docs for macros/support-file-extension
I provided the wrong usage example in my documentation. This goes to show how
critical generated documentation is to the goal of documentation reliability,
which itself bolsters the goal of documentation in general.
Diffstat (limited to 'configs/shared/.emacs.d')
-rw-r--r--configs/shared/.emacs.d/wpc/macros.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/shared/.emacs.d/wpc/macros.el b/configs/shared/.emacs.d/wpc/macros.el
index a41cb8db9a52..5f7c93902e3e 100644
--- a/configs/shared/.emacs.d/wpc/macros.el
+++ b/configs/shared/.emacs.d/wpc/macros.el
@@ -87,7 +87,7 @@ Usage: (add-hook-before-save 'reason-mode-hook #'refmt-before-save)"
 
 (defmacro macros/support-file-extension (ext mode)
   "Register MODE to automatically load with files ending with EXT extension.
-Usage: (macros/support-file-extension \".pb\" protobuf-mode)"
+Usage: (macros/support-file-extension \"pb\" protobuf-mode)"
   (let ((extension (string/format "\\.%s\\'" ext)))
     `(add-to-list 'auto-mode-alist '(,extension . ,mode))))