mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-16 08:50:08 +00:00
Revert some stray curved quotes I missed earlier
Problem reported by David Kastrup in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html * lisp/international/mule-cmds.el (leim-list-header): Use format-message with an ASCII-only format.
This commit is contained in:
parent
a1cd8c96ca
commit
cdb0ae37ab
9 changed files with 22 additions and 21 deletions
|
@ -677,7 +677,7 @@ SYMBOL is a function that can be overridden."
|
|||
result))
|
||||
|
||||
(defun xref-mode-local-overload (symbol)
|
||||
"For ‘elisp-xref-find-def-functions’; add overloads for SYMBOL."
|
||||
"For `elisp-xref-find-def-functions'; add overloads for SYMBOL."
|
||||
;; Current buffer is the buffer where xref-find-definitions was invoked.
|
||||
(when (get symbol 'mode-local-overload)
|
||||
(let* ((symbol-file (find-lisp-object-file-name symbol (symbol-function symbol)))
|
||||
|
@ -738,11 +738,11 @@ SYMBOL is a function that can be overridden."
|
|||
|
||||
(defconst xref-mode-local-find-overloadable-regexp
|
||||
"(\\(\\(define-overloadable-function\\)\\|\\(define-overload\\)\\) +%s"
|
||||
"Regexp used by ‘xref-find-definitions’ when searching for a
|
||||
"Regexp used by `xref-find-definitions' when searching for a
|
||||
mode-local overloadable function definition.")
|
||||
|
||||
(defun xref-mode-local-find-override (meta-name)
|
||||
"Function used by ‘xref-find-definitions’ when searching for an
|
||||
"Function used by `xref-find-definitions' when searching for an
|
||||
override of a mode-local overloadable function.
|
||||
META-NAME is a cons (OVERLOADABLE-SYMBOL . MAJOR-MODE)."
|
||||
(let* ((override (car meta-name))
|
||||
|
|
|
@ -168,7 +168,8 @@
|
|||
;; "Switch to non-existing buffers only upon confirmation."
|
||||
;; (interactive "BSwitch to buffer: ")
|
||||
;; (if (or (get-buffer (ad-get-arg 0))
|
||||
;; (y-or-n-p (format "‘%s’ does not exist, create? " (ad-get-arg 0))))
|
||||
;; (y-or-n-p (format-message "`%s' does not exist, create? "
|
||||
;; (ad-get-arg 0))))
|
||||
;; ad-do-it))
|
||||
;;
|
||||
;;(defadvice find-file (before existing-files-only activate)
|
||||
|
|
|
@ -1814,7 +1814,7 @@ The value is non-nil if there were no errors, nil if errors."
|
|||
;; compile this file.
|
||||
(if (with-current-buffer input-buffer no-byte-compile)
|
||||
(progn
|
||||
;; (message "%s not compiled because of ‘no-byte-compile: %s’"
|
||||
;; (message "%s not compiled because of `no-byte-compile: %s'"
|
||||
;; (byte-compile-abbreviate-file filename)
|
||||
;; (with-current-buffer input-buffer no-byte-compile))
|
||||
(when (file-exists-p target-file)
|
||||
|
@ -4196,7 +4196,7 @@ binding slots have been popped."
|
|||
;; (consp (get condition
|
||||
;; 'error-conditions)))))
|
||||
;; (byte-compile-warn
|
||||
;; "‘%s’ is not a known condition name
|
||||
;; "`%s' is not a known condition name
|
||||
;; (in condition-case)"
|
||||
;; condition))
|
||||
)
|
||||
|
@ -4235,7 +4235,7 @@ binding slots have been popped."
|
|||
;; for the argument to `signal', not to `condition-case'.
|
||||
;;(unless (consp (get c 'error-conditions))
|
||||
;; (byte-compile-warn
|
||||
;; "‘%s’ is not a known condition name (in condition-case)"
|
||||
;; "`%s' is not a known condition name (in condition-case)"
|
||||
;; c))
|
||||
)
|
||||
(byte-compile-push-constant condition))
|
||||
|
|
|
@ -679,7 +679,7 @@ and updates the data stored in ENV."
|
|||
|
||||
;; ((and `(quote ,v . ,_) (guard (assq v env)))
|
||||
;; (byte-compile-log-warning
|
||||
;; (format-message "Possible confusion variable/symbol for ‘%S’" v)))
|
||||
;; (format-message "Possible confusion variable/symbol for `%S'" v)))
|
||||
|
||||
(`(quote . ,_) nil) ; quote form
|
||||
(`(function . ,_) nil) ; same as quote
|
||||
|
|
|
@ -1663,7 +1663,7 @@ function,command,variable,option or symbol." ms1))))))
|
|||
;; (concat "\\<" (regexp-quote (car fp)) "\\>")
|
||||
;; newname))
|
||||
;; (checkdoc-create-error
|
||||
;; "Flag variable names should normally end in ‘-flag’" s
|
||||
;; "Flag variable names should normally end in `-flag'" s
|
||||
;; (marker-position e)))))
|
||||
;; Done with variables
|
||||
))
|
||||
|
|
|
@ -850,7 +850,7 @@ Fills in the default value in CLASS' in SLOT with VALUE."
|
|||
;; gnus/registry.el, so it might be used elsewhere as well, so let's
|
||||
;; keep it for now.
|
||||
;; FIXME: Generate a compile-time warning for it!
|
||||
;; (error "Can't ‘oset-default’ an instance-allocated slot: %S of %S"
|
||||
;; (error "Can't `oset-default' an instance-allocated slot: %S of %S"
|
||||
;; slot class)
|
||||
(eieio--validate-slot-value class c value slot)
|
||||
;; Set this into the storage for defaults.
|
||||
|
|
|
@ -1272,7 +1272,7 @@ This file contains a list of libraries of Emacs input methods (LEIM)
|
|||
in the format of Lisp expression for registering each input method.
|
||||
Emacs loads this file at startup time.")
|
||||
|
||||
(defconst leim-list-header (format
|
||||
(defconst leim-list-header (format-message
|
||||
";;; %s -- list of LEIM (Library of Emacs Input Method) -*-coding: utf-8;-*-
|
||||
;;
|
||||
;; This file is automatically generated.
|
||||
|
@ -1286,9 +1286,9 @@ Emacs loads this file at startup time.")
|
|||
;; INPUT-METHOD LANGUAGE-NAME ACTIVATE-FUNC
|
||||
;; TITLE DESCRIPTION
|
||||
;; ARG ...)
|
||||
;; See the function ‘register-input-method’ for the meanings of the arguments.
|
||||
;; See the function `register-input-method' for the meanings of the arguments.
|
||||
;;
|
||||
;; If this directory is included in ‘load-path’, Emacs automatically
|
||||
;; If this directory is included in `load-path', Emacs automatically
|
||||
;; loads this file at startup time.
|
||||
|
||||
"
|
||||
|
|
|
@ -632,11 +632,11 @@ otherwise build the summary from TYPE and SYMBOL."
|
|||
(xref-make-elisp-location symbol type file)))
|
||||
|
||||
(defvar elisp-xref-find-def-functions nil
|
||||
"List of functions to be run from ‘elisp--xref-find-definitions’ to add additional xrefs.
|
||||
"List of functions to be run from `elisp--xref-find-definitions' to add additional xrefs.
|
||||
Called with one arg; the symbol whose definition is desired.
|
||||
Each function should return a list of xrefs, or nil; the first
|
||||
non-nil result supercedes the xrefs produced by
|
||||
‘elisp--xref-find-definitions’.")
|
||||
`elisp--xref-find-definitions'.")
|
||||
|
||||
;; FIXME: name should be singular; match xref-find-definition
|
||||
(defun elisp--xref-find-definitions (symbol)
|
||||
|
|
|
@ -8666,7 +8666,7 @@ Return an array of [outputs inouts inputs wire reg assign const]."
|
|||
|
||||
(defun verilog-read-sub-decls-expr (submoddecls comment port expr)
|
||||
"For `verilog-read-sub-decls-line', parse a subexpression and add signals."
|
||||
;;(message "vrsde: ‘%s’" expr)
|
||||
;;(message "vrsde: `%s'" expr)
|
||||
;; Replace special /*[....]*/ comments inserted by verilog-auto-inst-port
|
||||
(setq expr (verilog-string-replace-matches "/\\*\\(\\[[^*]+\\]\\)\\*/" "\\1" nil nil expr))
|
||||
;; Remove front operators
|
||||
|
@ -8685,25 +8685,25 @@ Return an array of [outputs inouts inputs wire reg assign const]."
|
|||
(let (sig vec multidim)
|
||||
;; Remove leading reduction operators, etc
|
||||
(setq expr (verilog-string-replace-matches "^\\s-*[---+~!|&]+\\s-*" "" nil nil expr))
|
||||
;;(message "vrsde-ptop: ‘%s’" expr)
|
||||
;;(message "vrsde-ptop: `%s'" expr)
|
||||
(cond ; Find \signal. Final space is part of escaped signal name
|
||||
((string-match "^\\s-*\\(\\\\[^ \t\n\f]+\\s-\\)" expr)
|
||||
;;(message "vrsde-s: ‘%s’" (match-string 1 expr))
|
||||
;;(message "vrsde-s: `%s'" (match-string 1 expr))
|
||||
(setq sig (match-string 1 expr)
|
||||
expr (substring expr (match-end 0))))
|
||||
;; Find signal
|
||||
((string-match "^\\s-*\\([a-zA-Z_][a-zA-Z_0-9]*\\)" expr)
|
||||
;;(message "vrsde-s: ‘%s’" (match-string 1 expr))
|
||||
;;(message "vrsde-s: `%s'" (match-string 1 expr))
|
||||
(setq sig (verilog-string-remove-spaces (match-string 1 expr))
|
||||
expr (substring expr (match-end 0)))))
|
||||
;; Find [vector] or [multi][multi][multi][vector]
|
||||
(while (string-match "^\\s-*\\(\\[[^]]+\\]\\)" expr)
|
||||
;;(message "vrsde-v: ‘%s’" (match-string 1 expr))
|
||||
;;(message "vrsde-v: `%s'" (match-string 1 expr))
|
||||
(when vec (setq multidim (cons vec multidim)))
|
||||
(setq vec (match-string 1 expr)
|
||||
expr (substring expr (match-end 0))))
|
||||
;; If found signal, and nothing unrecognized, add the signal
|
||||
;;(message "vrsde-rem: ‘%s’" expr)
|
||||
;;(message "vrsde-rem: `%s'" expr)
|
||||
(when (and sig (string-match "^\\s-*$" expr))
|
||||
(verilog-read-sub-decls-sig submoddecls comment port sig vec multidim))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue