Skip to content

Instantly share code, notes, and snippets.

@karino2
Created March 6, 2012 07:39
Show Gist options
  • Save karino2/1984727 to your computer and use it in GitHub Desktop.
Save karino2/1984727 to your computer and use it in GitHub Desktop.
EquationPad
(defun my-save()
(interactive)
(save-excursion
(goto-char 0)
(search-forward "import_data_hidden")
(search-forward "value=")
(search-forward "\"")
(forward-char)
(let ((pos (point)))
(search-forward "\"")
(delete-region pos (point))
(insert (substitute-string (get-clipboard-data) "&" "&")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment