Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add oddmuse wiki protection.

  • Loading branch information...
commit 778ba2457233758efca167d3328ce199ace0dfd7 1 parent 1c8f12e
@technomancy authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 starter-kit-misc.el
View
6 starter-kit-misc.el
@@ -129,5 +129,11 @@
;; make emacs use the clipboard
(setq x-select-enable-clipboard t)
+;; Get around the emacswiki spam protection
+(add-hook 'oddmuse-mode-hook
+ (lambda ()
+ (unless (string-match "question" oddmuse-post)
+ (setq oddmuse-post (concat "uihnscuskc=1;" oddmuse-post)))))
+
(provide 'starter-kit-misc)
;;; starter-kit-misc.el ends here
Please sign in to comment.
Something went wrong with that request. Please try again.