From: Brian Warner Date: Sat, 20 Sep 2008 18:39:33 +0000 (-0700) Subject: misc/make_umid: change docs, make elisp code easier to grab X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/module-simplejson.tests.html?a=commitdiff_plain;h=d4b522bedf15092780b9226802db0aff06c2ac7d;p=tahoe-lafs%2Ftahoe-lafs.git misc/make_umid: change docs, make elisp code easier to grab --- diff --git a/misc/make_umid b/misc/make_umid index b4f222f6..c8b39dfe 100644 --- a/misc/make_umid +++ b/misc/make_umid @@ -20,17 +20,20 @@ easier to write classifier functions for the incident-gatherer. """ -#The following elisp code may be useful: - -# (defun insert-umid () -# (interactive) -# (insert ", umid=\"") -# (call-process "make_umid" nil t) -# (delete-char -1) -# (insert "\"") -# ) -# (global-set-key (kbd "C-\`") 'insert-umid) - +''' +The following elisp code may be useful: + + (defun insert-umid () + (interactive) + (insert ", umid=\"") + (call-process "make_umid" nil t) + (delete-char -1) + (insert "\"") + ) + (global-set-key (kbd "C-\`") 'insert-umid) +''' + +# ' # emacs gets confused by the odd number of single-quotes there import os, base64, sys