Permalink
Browse files

Add oddmuse wiki protection.

  • Loading branch information...
1 parent 1c8f12e commit 778ba2457233758efca167d3328ce199ace0dfd7 @technomancy committed Jan 7, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 starter-kit-misc.el
View
@@ -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

0 comments on commit 778ba24

Please sign in to comment.