[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 148/287: Fix more compiler issues and typos
From: |
Matthew Fidler |
Subject: |
[elpa] 148/287: Fix more compiler issues and typos |
Date: |
Wed, 02 Jul 2014 14:45:28 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit b714b041ad67d238982e774581d0ccf1d04b7ed1
Author: Matthew L. Fidler <address@hidden>
Date: Wed Jun 18 13:41:49 2014 -0500
Fix more compiler issues and typos
---
ergoemacs-functions.el | 27 ++++++++++++++-------------
ergoemacs-translate.el | 4 ++--
ergoemacs-unbind.el | 6 +++---
3 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index d5a60d5..f69b091 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -1884,6 +1884,7 @@ If arg is a negative prefix, copy file path only"
(defvar ergoemacs-theme--object)
(declare-function ergoemacs-gen-svg "ergoemacs-extras.el")
(declare-function ergoemacs-theme-component-map-list-md5
"ergoemacs-theme-engine.el")
+(defvar ergoemacs-theme-options)
(defun ergoemacs-display-current-svg (&optional arg)
"Generates the current ergoemacs layout, unless it already exists and opens
it in a browser.
With a prefix, force regeneration. "
@@ -2087,43 +2088,43 @@ For a list of online reference sites, see:
"Lookup urrent word or text selection in Google Search.
See also `ergoemacs-lookup-word-on-internet'."
(interactive)
- (let ((dictUrl "http://www.google.com/search?q=�"))
- (ergoemacs-lookup-word-on-internet input-word dictUrl)))
+ (let ((dict-url "http://www.google.com/search?q=�"))
+ (ergoemacs-lookup-word-on-internet input-word dict-url)))
(defun ergoemacs-lookup-wikipedia (&optional input-word)
"Lookup current word or text selection in Wikipedia.
See also `ergoemacs-lookup-word-on-internet'."
(interactive)
- (let ((dictUrl "http://en.wikipedia.org/wiki/�"))
- (ergoemacs-lookup-word-on-internet input-word dictUrl)))
+ (let ((dict-url "http://en.wikipedia.org/wiki/�"))
+ (ergoemacs-lookup-word-on-internet input-word dict-url)))
(defun ergoemacs-lookup-word-dict-org (&optional input-word)
"Lookup definition of current word or text selection in URL
`http://dict.org/'.
See also `ergoemacs-lookup-word-on-internet'."
(interactive)
- (let ((dictUrl "http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=�"
))
- (ergoemacs-lookup-word-on-internet input-word dictUrl)))
+ (let ((dict-url "http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=�"
))
+ (ergoemacs-lookup-word-on-internet input-word dict-url)))
(defun ergoemacs-lookup-word-definition (&optional input-word)
"Lookup definition of current word or text selection in URL
`http://thefreedictionary.com/'.
See also `ergoemacs-lookup-word-on-internet'."
(interactive)
- (let ((dictUrl "http://www.thefreedictionary.com/�"))
- (ergoemacs-lookup-word-on-internet input-word dictUrl)))
+ (let ((dict-url "http://www.thefreedictionary.com/�"))
+ (ergoemacs-lookup-word-on-internet input-word dict-url)))
(defun ergoemacs-lookup-answers.com (&optional input-word)
"Lookup current word or text selection in URL `http://answers.com/'.
See also `ergoemacs-lookup-word-on-internet'."
(interactive)
- (let ((dictUrl "http://www.answers.com/main/ntquery?s=�"))
- (ergoemacs-lookup-word-on-internet input-word dictUrl)))
+ (let ((dict-url "http://www.answers.com/main/ntquery?s=�"))
+ (ergoemacs-lookup-word-on-internet input-word dict-url)))
(defun ergoemacs-lookup-wiktionary (&optional input-word)
"Lookup definition of current word or text selection in URL
`http://en.wiktionary.org/'
See also `ergoemacs-lookup-word-on-internet'."
(interactive)
- (let ((dictUrl "http://en.wiktionary.org/wiki/�" ))
- (ergoemacs-lookup-word-on-internet input-word dictUrl) ) )
+ (let ((dict-url "http://en.wiktionary.org/wiki/�" ))
+ (ergoemacs-lookup-word-on-internet input-word dict-url) ) )
(defun ergoemacs-lookup-all-dictionaries (&optional input-word)
"Lookup definition in many dictionaries.
@@ -2133,7 +2134,7 @@ The dictionaries used are in `ergoemacs-all-dictionaries'.
See also `ergoemacs-lookup-word-on-internet'."
(interactive)
(dolist (dict-url ergoemacs-all-dictionaries)
- (ergoemacs-lookup-word-on-internet input-word dictUrl)))
+ (ergoemacs-lookup-word-on-internet input-word dict-url)))
(defvar ergoemacs-shortcut-keys)
(defvar ergoemacs-read-input-keys)
diff --git a/ergoemacs-translate.el b/ergoemacs-translate.el
index f0e928f..94e1103 100644
--- a/ergoemacs-translate.el
+++ b/ergoemacs-translate.el
@@ -381,7 +381,7 @@ This function is made in `ergoemacs-translation'")
(interactive)
(ergoemacs-universal-argument ',(plist-get arg-plist ':name)))))
(pushnew (intern (concat "ergoemacs-" (symbol-name (plist-get arg-plist
':name)) "-universal-argument"))
- :test 'equal)
+ ergoemacs-universal-fns)
(eval (macroexpand
`(defun ,(intern (concat "ergoemacs-" (symbol-name (plist-get
arg-plist ':name)) "-digit-argument")) ()
@@ -844,7 +844,7 @@ and `ergoemacs-pretty-key' descriptions.
(while (< i len)
(unless (or (string= "" (nth i base))
(string= "" (nth i lay)))
- (pusnew `(,(nth i base) . ,(nth i lay))
+ (pushnew `(,(nth i base) . ,(nth i lay))
ergoemacs-translation-assoc
:test 'equal))
(setq i (+ i 1)))
diff --git a/ergoemacs-unbind.el b/ergoemacs-unbind.el
index 0e2d080..c246e53 100644
--- a/ergoemacs-unbind.el
+++ b/ergoemacs-unbind.el
@@ -737,7 +737,7 @@
(let ((key (read-kbd-macro (nth 0 x))))
(dolist (fn (nth 1 x))
(let ((keys (gethash fn ergoemacs-where-is-global-hash)))
- (pushnew key keys :test equal)
+ (pushnew key keys :test 'equal)
(puthash fn keys ergoemacs-where-is-global-hash))))))
@@ -753,7 +753,7 @@
(setq fn (lookup-key global-map (read-kbd-macro first)))
(if (not (functionp fn))
elt
- (pusnew fn last :test 'equal)
+ (pushnew fn last :test 'equal)
`(,first ,last))))
ergoemacs-emacs-default-bindings))
(ergoemacs-reset-global-where-is))
@@ -899,7 +899,7 @@ This should only be run when no global keys have been set.
(unless (integerp trans-function)
(ergoemacs-global-fix-defualt-bindings key-kbd
trans-function))))
(pushnew key-kbd ergoemacs-global-changed-cache :test
'equal))
- (pusnew key-kbd ergoemacs-global-not-changed-cache :test 'equal))
+ (pushnew key-kbd ergoemacs-global-not-changed-cache :test
'equal))
has-changed))))))
(declare-function ergoemacs-get-fixed-layout "ergoemacs-translate.el")
- [elpa] 84/287: Break-out sending unread-command events, (continued)
- [elpa] 84/287: Break-out sending unread-command events, Matthew Fidler, 2014/07/02
- [elpa] 85/287: Keep track of shortcut key prefixes, Matthew Fidler, 2014/07/02
- [elpa] 81/287: Added version menu back, Matthew Fidler, 2014/07/02
- [elpa] 87/287: Remove "Z" in theme component, Matthew Fidler, 2014/07/02
- [elpa] 144/287: Generate image based on options, Matthew Fidler, 2014/07/02
- [elpa] 86/287: Always suppress shortcuts in read-key-lookup, Matthew Fidler, 2014/07/02
- [elpa] 88/287: Apply defered variables/modes. Fix Issue #216, Matthew Fidler, 2014/07/02
- [elpa] 147/287: Allow emacs23 to fail., Matthew Fidler, 2014/07/02
- [elpa] 78/287: Faster ignore globally defined key, Matthew Fidler, 2014/07/02
- [elpa] 149/287: Backport `make-composed-keymap'., Matthew Fidler, 2014/07/02
- [elpa] 148/287: Fix more compiler issues and typos,
Matthew Fidler <=
- [elpa] 145/287: pushnew instead of add-to-list, Matthew Fidler, 2014/07/02
- [elpa] 152/287: Remove emacs23 testing, Matthew Fidler, 2014/07/02
- [elpa] 150/287: Note that ergoemacs-mode requires emacs 24.1, Matthew Fidler, 2014/07/02
- [elpa] 153/287: Update expections., Matthew Fidler, 2014/07/02
- [elpa] 154/287: Remove ert dependence. Its in emacs 24, Matthew Fidler, 2014/07/02
- [elpa] 151/287: Try to make this a batch test., Matthew Fidler, 2014/07/02
- [elpa] 156/287: Try to make compatible with 24.4, Matthew Fidler, 2014/07/02
- [elpa] 158/287: Take out `mark-whole-buffer', Matthew Fidler, 2014/07/02
- [elpa] 155/287: Use :initialize #'custom-initialize-default, Matthew Fidler, 2014/07/02
- [elpa] 157/287: Add ergoemacs fixes for 24.4, Matthew Fidler, 2014/07/02