Created
February 13, 2009 14:33
-
-
Save yaotti/63926 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
;; insert "- " with nesting | |
;; for clmemo users | |
(defun change-log-insert-list() | |
(interactive) | |
(let* ((end-point (point)) | |
(start-point (- end-point 2)) | |
(str (buffer-substring start-point end-point))) | |
(if (string-equal "- " str) | |
(delete-backward-char 1)) | |
(insert "- "))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment