Skip to content

Commit

Permalink
Add oddmuse wiki protection.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jan 7, 2010
1 parent 1c8f12e commit 778ba24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions starter-kit-misc.el
Original file line number Diff line number Diff line change
Expand Up @@ -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.