Removed final newline from snippet files.

This commit is contained in:
Joao Tavora
2011-10-13 14:34:13 +01:00
parent 6c84d6c428
commit d3086586be
229 changed files with 229 additions and 232 deletions

View File

@@ -2,5 +2,4 @@
#name: autoload
#key: autoload
# --
(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)
(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)

View File

@@ -3,5 +3,4 @@
#key: bounds-of-thing-at-point
#key: botap
# --
(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...

View File

@@ -3,4 +3,4 @@
#key: buffer-substring-no-properties
#key: bsnp
# --
(buffer-substring-no-properties START$0 END)
(buffer-substring-no-properties START$0 END)

View File

@@ -3,4 +3,4 @@
#key: buffer-substring
#key: bs
# --
(buffer-substring START$0 END)
(buffer-substring START$0 END)

View File

@@ -2,4 +2,4 @@
#name: format
#key: format
# --
(format "$0" &optional OBJECTS)
(format "$0" &optional OBJECTS)

View File

@@ -2,4 +2,4 @@
#name: format
#key: format
# --
(format "$0" &optional OBJECTS)
(format "$0" &optional OBJECTS)

View File

@@ -3,4 +3,4 @@
#key: replace-regexp-in-string
#key: rris
# --
(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)

View File

@@ -2,4 +2,4 @@
#name: substring
#key: substring
# --
(substring STRING$0 FROM &optional TO)
(substring STRING$0 FROM &optional TO)

View File

@@ -3,5 +3,4 @@
#key: thing-at-point
#key: tap
# --
(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...

View File

@@ -13,4 +13,4 @@
(mapc 'myProcessFile (dired-get-marked-files))
)
;; to use it, type M-x dired-myProcessFile
;; to use it, type M-x dired-myProcessFile

View File

@@ -14,4 +14,4 @@
;; ... do something here
;; (write-file fpath) ;; write back to the file
(kill-buffer " myTemp")))
(kill-buffer " myTemp")))

View File

@@ -14,4 +14,4 @@ This works on the current region."
(goto-char (point-min))
(while (search-forward ">" nil t) (replace-match ">" nil t))
)
)
)

View File

@@ -1,4 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: grab buffer substring
# --
(setq $0 (buffer-substring-no-properties myStartPos myEndPos))
(setq $0 (buffer-substring-no-properties myStartPos myEndPos))

View File

@@ -1,4 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: grab word under cursor
# --
(setq $0 (thing-at-point 'symbol))
(setq $0 (thing-at-point 'symbol))

View File

@@ -3,4 +3,4 @@
# --
;; apply a function to all files in a dir
(require 'find-lisp)
(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$"))
(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$"))

View File

@@ -24,4 +24,4 @@
(insert "newText") ; insert your new text
)
)
)