Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/usr/bin/env emacs --script
  2.  
  3. (defun modify(filename)
  4. (find-file-literally filename)
  5. (goto-char 3)
  6. (insert "x39")
  7. (save-buffer 0)
  8. (kill-buffer))
  9.  
  10. (modify "a.txt")
  11.  
  12. abcdefg
  13.  
  14. ab9defg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement