branch: elpa/engine-mode commit feb41a46e3a4cfcdea405db2bc3ea485776eaa7f Author: Basil L. Contovounesios <conto...@tcd.ie> Commit: Harry R. Schwartz <he...@harryrschwartz.com>
Escape docstring bol open-parentheses This prevents the open-parenthesis from being treated as the start of a defun, as described in (info "(elisp) Function Documentation") and (info "(elisp) Documentation Tips"). --- engine-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine-mode.el b/engine-mode.el index 286552317f..c275dba47b 100644 --- a/engine-mode.el +++ b/engine-mode.el @@ -77,7 +77,7 @@ "Bind the engine-mode keymap to a new prefix. For example, to use \"C-c s\" instead of the default \"C-x /\": -(engine/set-keymap-prefix (kbd \"C-c s\"))" +\(engine/set-keymap-prefix (kbd \"C-c s\"))" (define-key engine-mode-map (kbd engine/keybinding-prefix) nil) (define-key engine-mode-map prefix-key engine-mode-prefixed-map)) @@ -137,7 +137,7 @@ function that will be applied to the search term before it's substituted into `search-engine-url'. For example, if we wanted to always upcase our search terms, we might use: -(defengine duckduckgo +\(defengine duckduckgo \"https://duckduckgo.com/?q=%s\" :term-transformation-hook 'upcase)