]> code.delx.au - gnu-emacs/commitdiff
Fix curved quotes in a few places
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 5 Jun 2015 06:44:38 +0000 (23:44 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 5 Jun 2015 06:54:49 +0000 (23:54 -0700)
* lisp/calc/calc-misc.el (calc-help): Fix quoting.
The strings in question are not doc strings, so this partially
undoes the recent change that assumed they were doc strings.
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
* lisp/info.el (Info-finder-find-node):
Use curved quotes.
* lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
Also allow curved quotes in doc strings.

lisp/calc/calc-misc.el
lisp/cedet/srecode/srt-mode.el
lisp/emacs-lisp/derived.el
lisp/info.el

index 60c6fb9782c24074359c32fa23cd60b982e97eeb..5d5f4ce0c8687f7a46a97e102578af59a8d982f0 100644 (file)
@@ -217,7 +217,7 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C).
 (defun calc-help ()
   (interactive)
   (let ((msgs
-        '("Press `h' for complete help; press `?' repeatedly for a summary"
+        '("Press ‘h’ for complete help; press ‘?’ repeatedly for a summary"
           "Letter keys: Negate; Precision; Yank; Why; Xtended cmd; Quit"
           "Letter keys: SHIFT + Undo, reDo; Inverse, Hyperbolic, Option"
           "Letter keys: SHIFT + sQrt; Sin, Cos, Tan; Exp, Ln, logB"
@@ -225,7 +225,7 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C).
           "Letter keys: SHIFT + Num-eval; More-recn; eXec-kbd-macro; Keep-args"
           "Other keys: +, -, *, /, ^, \\ (int div), : (frac div)"
           "Other keys: & (1/x), | (concat), % (modulo), ! (factorial)"
-          "Other keys: ' (alg-entry), = (eval), \\=` (edit); M-RET (last-args)"
+          "Other keys: ' (alg-entry), = (eval), ` (edit); M-RET (last-args)"
           "Other keys: SPC/RET (enter/dup), LFD (over); < > (scroll horiz)"
           "Other keys: DEL (drop), M-DEL (drop-above); { } (scroll vert)"
           "Other keys: TAB (swap/roll-dn), M-TAB (roll-up)"
index 79672ec3b1b22fc37427cb5d128a0cf6294e8a15..fbc56357b1c78a2e40c4a7c358070e16e0230cfb 100644 (file)
@@ -258,9 +258,9 @@ we can tell font lock about them.")
            (when (class-abstract-p C)
              (throw 'skip nil))
 
-           (princ "`")
+           (princ "")
            (princ name)
-           (princ "'")
+           (princ "")
            (when (slot-exists-p C 'key)
              (when key
                (princ " - Character Key: ")
index 52da4c99eafc862bb5b0dac04112a1d19b02f92e..75bd325d9dbda72be26a1e4598c7fb90b8f3ff6b 100644 (file)
@@ -331,7 +331,8 @@ which more-or-less shadow%s %s's corresponding table%s."
                        "\n\nThis mode "
                      (concat
                       "\n\nIn addition to any hooks its parent mode "
-                      (if (string-match (regexp-quote (format "`%s'" parent))
+                      (if (string-match (regexp-quote (format "[`‘]%s['’]"
+                                                               parent))
                                         docstring) nil
                         (format "`%s' " parent))
                       "might have run,\nthis mode "))
index 59ce465f5aa648143117226d5a5be619702f8f99..9602337e19302c26b65507a57e8687bfbe6c65c1 100644 (file)
@@ -3707,7 +3707,7 @@ Build a menu of the possible matches."
     (insert "Finder Packages\n")
     (insert "***************\n\n")
     (insert
-     "The following packages match the keyword `" nodename "':\n\n")
+     "The following packages match the keyword ‘" nodename "’:\n\n")
     (insert "* Menu:\n\n")
     (let ((keywords
           (mapcar #'intern (if (string-match-p "," nodename)
@@ -3734,7 +3734,7 @@ Build a menu of the possible matches."
     (insert "Package Description\n")
     (insert "*******************\n\n")
     (insert
-     "Description of the package `" nodename "':\n\n")
+     "Description of the package ‘" nodename "’:\n\n")
     ;; This assumes that a file named package.el exists,
     ;; which is not always true.  E.g. for the nxml package,
     ;; there is no "nxml.el" (it's nxml-mode.el).