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

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

[nongnu] elpa/engine-mode feb41a46e3 48/71: Escape docstring bol open-pa


From: ELPA Syncer
Subject: [nongnu] elpa/engine-mode feb41a46e3 48/71: Escape docstring bol open-parentheses
Date: Wed, 21 Dec 2022 09:59:15 -0500 (EST)

branch: elpa/engine-mode
commit feb41a46e3a4cfcdea405db2bc3ea485776eaa7f
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Harry R. Schwartz <hello@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)
 



reply via email to

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