Added quotes around selectors in help strings.
authorTim Vaughan <tgvaughan@gmail.com>
Fri, 10 May 2019 13:54:20 +0000 (15:54 +0200)
committerTim Vaughan <tgvaughan@gmail.com>
Fri, 10 May 2019 13:54:20 +0000 (15:54 +0200)
elpher.el

index ca3a82a..a35a23f 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -332,7 +332,7 @@ content and cursor position fields of the node."
                                                                getter)
                               'action #'elpher-click-link
                               'follow-link t
-                              'help-echo (format "mouse-1, RET: open %s on %s port %s"
+                              'help-echo (format "mouse-1, RET: open '%s' on %s port %s"
                                                  selector host port)))
       (pcase type
         (?i (elpher-insert-margin) ;; Information
@@ -440,7 +440,7 @@ The result is stored as a string in the variable ‘elpher-selector-string’."
                                                                  getter)
                                 'action #'elpher-click-link
                                 'follow-link t
-                                'help-echo (format "mouse-1, RET: open %s on %s port %s"
+                                'help-echo (format "mouse-1, RET: open '%s' on %s port %s"
                                                    selector host port)))
           (make-text-button (match-beginning 0)
                             (match-end 0)