Permalink
Browse files

Global vars are now functions.

  • Loading branch information...
1 parent 4dafaf4 commit 84a62e1b6bfd789acbd8842c28f5fec7f5b9f108 Enrico Franchi committed Jan 31, 2011
Showing with 922 additions and 919 deletions.
  1. +6 −3 emacs
  2. +172 −172 emacs.d/ac-dict/tcl-mode
  3. +4 −4 emacs.d/more-libraries.el
  4. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/body
  5. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/br
  6. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/code
  7. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/div.id
  8. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/div.id-class
  9. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/form
  10. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/h1
  11. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/h2
  12. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/h3
  13. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/h4
  14. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/h5
  15. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/h6
  16. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/head
  17. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/hr
  18. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/href
  19. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/html
  20. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/html.xmlns
  21. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/img
  22. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/input
  23. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/li
  24. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/link.stylesheet
  25. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/link.stylesheet-ie
  26. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/mailto
  27. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/meta
  28. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/meta.http-equiv
  29. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/ol
  30. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/ol.id
  31. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/p
  32. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/pre
  33. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/quote
  34. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/script.javascript
  35. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/script.javascript-src
  36. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/span
  37. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/span.id
  38. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/style
  39. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/table
  40. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/td
  41. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/textarea
  42. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/th
  43. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/title
  44. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/tr
  45. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/ul
  46. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/html-mode/ul.id
  47. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/body
  48. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/br
  49. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/code
  50. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/form
  51. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/h1
  52. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/h2
  53. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/h3
  54. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/h4
  55. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/h5
  56. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/h6
  57. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/head
  58. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/hr
  59. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/href
  60. +6 −6 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/html
  61. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/img
  62. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/input
  63. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/li
  64. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/link
  65. +4 −4 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/meta
  66. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/name
  67. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/ol
  68. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/p
  69. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/pre
  70. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/quote
  71. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/span
  72. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/style
  73. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/table
  74. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/td
  75. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/th
  76. +3 −3 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/title
  77. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/tr
  78. +5 −5 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/nxml-mode/ul
  79. +33 −33 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/python-mode/defm
  80. +9 −9 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/python-mode/propg
  81. +12 −12 emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/python-mode/propsg
  82. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/body
  83. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/br
  84. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/code
  85. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/div.id
  86. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/div.id-class
  87. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/form
  88. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/h1
  89. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/h2
  90. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/h3
  91. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/h4
  92. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/h5
  93. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/h6
  94. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/head
  95. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/hr
  96. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/href
  97. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/html
  98. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/html.xmlns
  99. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/img
  100. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/input
  101. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/li
  102. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/link.stylesheet
  103. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/link.stylesheet-ie
  104. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/mailto
  105. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/meta
  106. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/meta.http-equiv
  107. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/ol
  108. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/ol.id
  109. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/p
  110. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/pre
  111. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/quote
  112. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/script.javascript
  113. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/script.javascript-src
  114. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/span
  115. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/span.id
  116. +5 −5 emacs.d/yasnippet/snippets/text-mode/html-mode/style
  117. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/table
  118. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/td
  119. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/textarea
  120. +4 −4 emacs.d/yasnippet/snippets/text-mode/html-mode/th
  121. +3 −3 emacs.d/yasnippet/snippets/text-mode/html-mode/title
  122. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/tr
  123. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/ul
  124. +6 −6 emacs.d/yasnippet/snippets/text-mode/html-mode/ul.id
  125. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/body
  126. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/br
  127. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/code
  128. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/form
  129. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/h1
  130. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/h2
  131. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/h3
  132. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/h4
  133. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/h5
  134. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/h6
  135. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/head
  136. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/hr
  137. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/href
  138. +6 −6 emacs.d/yasnippet/snippets/text-mode/nxml-mode/html
  139. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/img
  140. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/input
  141. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/li
  142. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/link
  143. +4 −4 emacs.d/yasnippet/snippets/text-mode/nxml-mode/meta
  144. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/name
  145. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/ol
  146. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/p
  147. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/pre
  148. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/quote
  149. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/span
  150. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/style
  151. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/table
  152. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/td
  153. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/th
  154. +3 −3 emacs.d/yasnippet/snippets/text-mode/nxml-mode/title
  155. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/tr
  156. +5 −5 emacs.d/yasnippet/snippets/text-mode/nxml-mode/ul
  157. +33 −33 emacs.d/yasnippet/snippets/text-mode/python-mode/defm
  158. +9 −9 emacs.d/yasnippet/snippets/text-mode/python-mode/propg
  159. +12 −12 emacs.d/yasnippet/snippets/text-mode/python-mode/propsg
View
9 emacs
@@ -9,9 +9,12 @@
(expand-file-name "~/.emacs.d/elpa/package.el"))
(package-initialize))
-(defvar macosx-p (string-match "darwin" (symbol-name system-type)))
-(defvar linux-p (string-match "gnu/linux" (symbol-name system-type)))
-(defvar win-p (string-match "windows-nt" (symbol-name system-type)))
+(defun macosx-p ()
+ (string-match "darwin" (symbol-name system-type)))
+(defun linux-p ()
+ (string-match "gnu/linux" (symbol-name system-type)))
+(defun win-p ()
+ (string-match "windows-nt" (symbol-name system-type)))
View
@@ -1,172 +1,172 @@
-after
-append
-apply
-array
-auto_execok
-auto_import
-auto_load
-auto_load_index
-auto_mkindex
-auto_mkindex_old
-auto_qualify
-auto_reset
-bell
-binary
-bind
-bindtags
-break
-button
-canvas
-case
-catch
-cd
-chan
-checkbutton
-clipboard
-clock
-close
-concat
-continue
-destroy
-dict
-encoding
-entry
-eof
-error
-eval
-event
-exec
-exit
-expr
-fblocked
-fconfigure
-fcopy
-file
-fileevent
-flush
-focus
-font
-for
-foreach
-format
-frame
-gets
-glob
-global
-grab
-grid
-if
-image
-incr
-info
-interp
-join
-label
-labelframe
-lappend
-lassign
-lindex
-linsert
-list
-listbox
-llength
-load
-lower
-lrange
-lrepeat
-lreplace
-lreverse
-lsearch
-lset
-lsort
-menu
-menubutton
-message
-namespace
-open
-option
-pack
-package
-panedwindow
-pid
-pkg_mkIndex
-place
-proc
-puts
-pwd
-radiobutton
-raise
-read
-regexp
-registry
-regsub
-rename
-return
-scale
-scan
-scrollbar
-seek
-selection
-set
-socket
-source
-spinbox
-split
-string
-subst
-switch
-tclLog
-tclPkgSetup
-tclPkgUnknown
-tcl_findLibrary
-tell
-text
-time
-tk
-tk_chooseColor
-tk_chooseDirectory
-tk_getOpenFile
-tk_getSaveFile
-tk_menuSetFocus
-tk_messageBox
-tk_popup
-tk_textCopy
-tk_textCut
-tk_textPaste
-tkwait
-toplevel
-ttk::button
-ttk::checkbutton
-ttk::combobox
-ttk::entry
-ttk::focusFirst
-ttk::frame
-ttk::label
-ttk::labelframe
-ttk::menubutton
-ttk::notebook
-ttk::paned
-ttk::panedwindow
-ttk::progressbar
-ttk::radiobutton
-ttk::scale
-ttk::scrollbar
-ttk::separator
-ttk::setTheme
-ttk::sizegrip
-ttk::style
-ttk::takefocus
-ttk::themes
-ttk::treeview
-trace
-unknown
-unload
-unset
-update
-uplevel
-upvar
-variable
-vwait
-while
-winfo
-wm
+after
+append
+apply
+array
+auto_execok
+auto_import
+auto_load
+auto_load_index
+auto_mkindex
+auto_mkindex_old
+auto_qualify
+auto_reset
+bell
+binary
+bind
+bindtags
+break
+button
+canvas
+case
+catch
+cd
+chan
+checkbutton
+clipboard
+clock
+close
+concat
+continue
+destroy
+dict
+encoding
+entry
+eof
+error
+eval
+event
+exec
+exit
+expr
+fblocked
+fconfigure
+fcopy
+file
+fileevent
+flush
+focus
+font
+for
+foreach
+format
+frame
+gets
+glob
+global
+grab
+grid
+if
+image
+incr
+info
+interp
+join
+label
+labelframe
+lappend
+lassign
+lindex
+linsert
+list
+listbox
+llength
+load
+lower
+lrange
+lrepeat
+lreplace
+lreverse
+lsearch
+lset
+lsort
+menu
+menubutton
+message
+namespace
+open
+option
+pack
+package
+panedwindow
+pid
+pkg_mkIndex
+place
+proc
+puts
+pwd
+radiobutton
+raise
+read
+regexp
+registry
+regsub
+rename
+return
+scale
+scan
+scrollbar
+seek
+selection
+set
+socket
+source
+spinbox
+split
+string
+subst
+switch
+tclLog
+tclPkgSetup
+tclPkgUnknown
+tcl_findLibrary
+tell
+text
+time
+tk
+tk_chooseColor
+tk_chooseDirectory
+tk_getOpenFile
+tk_getSaveFile
+tk_menuSetFocus
+tk_messageBox
+tk_popup
+tk_textCopy
+tk_textCut
+tk_textPaste
+tkwait
+toplevel
+ttk::button
+ttk::checkbutton
+ttk::combobox
+ttk::entry
+ttk::focusFirst
+ttk::frame
+ttk::label
+ttk::labelframe
+ttk::menubutton
+ttk::notebook
+ttk::paned
+ttk::panedwindow
+ttk::progressbar
+ttk::radiobutton
+ttk::scale
+ttk::scrollbar
+ttk::separator
+ttk::setTheme
+ttk::sizegrip
+ttk::style
+ttk::takefocus
+ttk::themes
+ttk::treeview
+trace
+unknown
+unload
+unset
+update
+uplevel
+upvar
+variable
+vwait
+while
+winfo
+wm
@@ -269,9 +269,9 @@
;*** Sicstus PL stuff ***
;******************************************************
(cond
- ((or linux-p macosx-p)
+ ((or (linux-p) (macosx-p))
(load "/usr/local/sicstus4.1.2/lib/sicstus-4.1.2/emacs/sicstus_emacs_init"))
- (win-p
+ ((win-p)
(load "/Program Files/SICStus Prolog VC9 4.1.2/emacs/sicstus_emacs_init.el")))
@@ -462,9 +462,9 @@
(setq load-path
(cons "~/.emacs.d/slime" load-path))
(cond
- (macosx-p
+ ((macosx-p)
(setq inferior-lisp-program "/usr/local/bin/sbcl --noinform"))
- (win-p
+ ((win-p)
(setq inferior-lisp-program "C:/Program Files/Steel Bank Common Lisp/1.0.37/sbcl.exe --noinform")))
(slime-setup)
@@ -1,6 +1,6 @@
-#contributor : Jimmy Wu <frozenthrone88@gmail.com>
-#name : <body>...</body>
-# --
-<body$1>
- $0
+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <body>...</body>
+# --
+<body$1>
+ $0
</body>
Oops, something went wrong.

0 comments on commit 84a62e1

Please sign in to comment.