emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/engine-mode e0910f141f 58/71: Don't quote term-transformat


From: ELPA Syncer
Subject: [nongnu] elpa/engine-mode e0910f141f 58/71: Don't quote term-transformation-hook value
Date: Wed, 21 Dec 2022 09:59:16 -0500 (EST)

branch: elpa/engine-mode
commit e0910f141f2d37c28936c51c3c8bb8a9ca0c01d1
Author: Harry R. Schwartz <hello@harryrschwartz.com>
Commit: Harry R. Schwartz <hello@harryrschwartz.com>

    Don't quote term-transformation-hook value
    
    We had a bug in our documentation; the value associated with a
    `term-transformation-hook` shouldn't be quoted.
    
    Thanks to @PhilHudson for noticing and providing a solution!
---
 README.md      | 2 +-
 engine-mode.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 0dc5f496ed..6d4cd0bcd7 100644
--- a/README.md
+++ b/README.md
@@ -116,7 +116,7 @@ For example, to UPCASE all of your DuckDuckGo searches:
 ```emacs
 (defengine duckduckgo
   "https://duckduckgo.com/?q=%s";
-  :term-transformation-hook 'upcase)
+  :term-transformation-hook upcase)
 ```
 
 Or, to ensure that all your queries are encoded as latin-1:
diff --git a/engine-mode.el b/engine-mode.el
index 4163831ca4..a5582336ae 100644
--- a/engine-mode.el
+++ b/engine-mode.el
@@ -145,7 +145,7 @@ to always upcase our search terms, we might use:
 
 \(defengine duckduckgo
   \"https://duckduckgo.com/?q=%s\";
-  :term-transformation-hook 'upcase)
+  :term-transformation-hook upcase)
 
 In this case, searching for \"foobar\" will hit the url
 \"https://duckduckgo.com/?q=FOOBAR\";.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]