misc/make_umid: change docs, make elisp code easier to grab

This commit is contained in:
Brian Warner 2008-09-20 11:39:33 -07:00
parent c6999d219e
commit d4b522bedf

View File

@ -20,17 +20,20 @@ easier to write classifier functions for the incident-gatherer.
"""
#The following elisp code may be useful:
'''
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)
(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