Created
February 5, 2015 21:20
-
-
Save nchapon/6d1d9e44bcf27afa6f17 to your computer and use it in GitHub Desktop.
two lisp function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This buffer is for notes you don't want to save, and for Lisp evaluation. | |
;; If you want to create a file, visit that file with C-x C-f, | |
;; then enter the text in that file's own buffer. | |
(defun my-nn () | |
"DOCSTRING" | |
(interactive) | |
(let (w (select-word)) | |
(forward-char) | |
(insert w))) | |
(defun select-word () | |
"DOCSTRING" | |
(interactive) | |
(backward-char) | |
(thing-at-point 'word)) | |
tetsee. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment