]> git.eshelyaron.com Git - emacs.git/commitdiff
Replace insignificant backquotes
authorMichael Heerdegen <michael_heerdegen@web.de>
Mon, 5 Nov 2018 00:22:15 +0000 (01:22 +0100)
committerMichael Heerdegen <michael_heerdegen@web.de>
Sun, 25 Nov 2018 20:08:08 +0000 (21:08 +0100)
Replace most insignificant occurrences of '`' with a straight quote,
sharp quote or nothing.  This includes backquotes in 'pcase' patterns.

* admin/admin.el:
* lisp/apropos.el:
* lisp/arc-mode.el:
* lisp/auth-source.el:
* lisp/avoid.el:
* lisp/bindings.el:
* lisp/bs.el:
* lisp/calculator.el:
* lisp/calendar/todo-mode.el:
* lisp/cedet/semantic.el:
* lisp/cedet/semantic/analyze/debug.el:
* lisp/cedet/semantic/bovine.el:
* lisp/cedet/semantic/dep.el:
* lisp/cedet/semantic/grammar.el:
* lisp/cedet/semantic/wisent/comp.el:
* lisp/cedet/semantic/wisent/grammar.el:
* lisp/cedet/srecode/mode.el:
* lisp/cus-edit.el:
* lisp/doc-view.el:
* lisp/elec-pair.el:
* lisp/electric.el:
* lisp/emacs-lisp/autoload.el:
* lisp/emacs-lisp/benchmark.el:
* lisp/emacs-lisp/byte-opt.el:
* lisp/emacs-lisp/bytecomp.el:
* lisp/emacs-lisp/cconv.el:
* lisp/emacs-lisp/cl-extra.el:
* lisp/emacs-lisp/cl-generic.el:
* lisp/emacs-lisp/cl-macs.el:
* lisp/emacs-lisp/copyright.el:
* lisp/emacs-lisp/debug.el:
* lisp/emacs-lisp/eieio-compat.el:
* lisp/emacs-lisp/ert.el:
* lisp/emacs-lisp/generator.el:
* lisp/emacs-lisp/inline.el:
* lisp/emacs-lisp/macroexp.el:
* lisp/emacs-lisp/map.el:
* lisp/emacs-lisp/package-x.el:
* lisp/emacs-lisp/package.el:
* lisp/emacs-lisp/radix-tree.el:
* lisp/emacs-lisp/smie.el:
* lisp/epa.el:
* lisp/erc/erc-dcc.el:
* lisp/erc/erc-track.el:
* lisp/erc/erc.el:
* lisp/eshell/em-ls.el:
* lisp/eshell/esh-cmd.el:
* lisp/files.el:
* lisp/filesets.el:
* lisp/font-lock.el:
* lisp/frameset.el:
* lisp/gnus/gnus-agent.el:
* lisp/gnus/gnus-art.el:
* lisp/gnus/gnus-cite.el:
* lisp/gnus/gnus-group.el:
* lisp/gnus/gnus-msg.el:
* lisp/gnus/gnus-salt.el:
* lisp/gnus/gnus-srvr.el:
* lisp/gnus/gnus-sum.el:
* lisp/gnus/gnus-topic.el:
* lisp/gnus/gnus-util.el:
* lisp/gnus/gnus.el:
* lisp/gnus/message.el:
* lisp/gnus/mm-util.el:
* lisp/gnus/mml.el:
* lisp/gnus/nnheader.el:
* lisp/gnus/nnimap.el:
* lisp/gnus/nnmairix.el:
* lisp/gnus/spam.el:
* lisp/hexl.el:
* lisp/hi-lock.el:
* lisp/ibuf-ext.el:
* lisp/ibuffer.el:
* lisp/ido.el:
* lisp/info.el:
* lisp/international/mule-cmds.el:
* lisp/international/mule-util.el:
* lisp/json.el:
* lisp/jsonrpc.el:
* lisp/language/cyrillic.el:
* lisp/language/european.el:
* lisp/language/georgian.el:
* lisp/language/tibetan.el:
* lisp/language/utf-8-lang.el:
* lisp/language/vietnamese.el:
* lisp/ldefs-boot.el:
* lisp/mail/mail-extr.el:
* lisp/man.el:
* lisp/menu-bar.el:
* lisp/mh-e/mh-acros.el:
* lisp/mh-e/mh-folder.el:
* lisp/mh-e/mh-mime.el:
* lisp/mh-e/mh-show.el:
* lisp/mh-e/mh-speed.el:
* lisp/minibuffer.el:
* lisp/mpc.el:
* lisp/net/ange-ftp.el:
* lisp/net/hmac-def.el:
* lisp/net/newst-backend.el:
* lisp/net/quickurl.el:
* lisp/net/tramp-archive.el:
* lisp/net/tramp-compat.el:
* lisp/notifications.el:
* lisp/obsolete/pgg-parse.el:
* lisp/obsolete/vc-arch.el:
* lisp/obsolete/xesam.el:
* lisp/org/ob-C.el:
* lisp/org/ob-core.el:
* lisp/org/ob-exp.el:
* lisp/org/ob-groovy.el:
* lisp/org/ob-haskell.el:
* lisp/org/ob-io.el:
* lisp/org/ob-lisp.el:
* lisp/org/ob-lob.el:
* lisp/org/ob-lua.el:
* lisp/org/ob-octave.el:
* lisp/org/ob-perl.el:
* lisp/org/ob-python.el:
* lisp/org/ob-ref.el:
* lisp/org/ob-ruby.el:
* lisp/org/ob-sql.el:
* lisp/org/org-agenda.el:
* lisp/org/org-capture.el:
* lisp/org/org-clock.el:
* lisp/org/org-colview.el:
* lisp/org/org-duration.el:
* lisp/org/org-element.el:
* lisp/org/org-entities.el:
* lisp/org/org-gnus.el:
* lisp/org/org-indent.el:
* lisp/org/org-info.el:
* lisp/org/org-inlinetask.el:
* lisp/org/org-lint.el:
* lisp/org/org-list.el:
* lisp/org/org-mouse.el:
* lisp/org/org-plot.el:
* lisp/org/org-src.el:
* lisp/org/org-table.el:
* lisp/org/org.el:
* lisp/org/ox-ascii.el:
* lisp/org/ox-html.el:
* lisp/org/ox-latex.el:
* lisp/org/ox-man.el:
* lisp/org/ox-md.el:
* lisp/org/ox-org.el:
* lisp/org/ox-publish.el:
* lisp/org/ox-texinfo.el:
* lisp/org/ox.el:
* lisp/play/bubbles.el:
* lisp/play/gamegrid.el:
* lisp/progmodes/autoconf.el:
* lisp/progmodes/cc-defs.el:
* lisp/progmodes/cc-engine.el:
* lisp/progmodes/cc-fonts.el:
* lisp/progmodes/cc-langs.el:
* lisp/progmodes/cperl-mode.el:
* lisp/progmodes/ebrowse.el:
* lisp/progmodes/elisp-mode.el:
* lisp/progmodes/flymake-cc.el:
* lisp/progmodes/flymake.el:
* lisp/progmodes/fortran.el:
* lisp/progmodes/grep.el:
* lisp/progmodes/gud.el:
* lisp/progmodes/idlwave.el:
* lisp/progmodes/js.el:
* lisp/progmodes/m4-mode.el:
* lisp/progmodes/make-mode.el:
* lisp/progmodes/mixal-mode.el:
* lisp/progmodes/modula2.el:
* lisp/progmodes/octave.el:
* lisp/progmodes/opascal.el:
* lisp/progmodes/prolog.el:
* lisp/progmodes/ps-mode.el:
* lisp/progmodes/python.el:
* lisp/progmodes/ruby-mode.el:
* lisp/progmodes/sh-script.el:
* lisp/progmodes/sql.el:
* lisp/progmodes/verilog-mode.el:
* lisp/ps-mule.el:
* lisp/rtree.el:
* lisp/ruler-mode.el:
* lisp/ses.el:
* lisp/simple.el:
* lisp/startup.el:
* lisp/subr.el:
* lisp/term/ns-win.el:
* lisp/textmodes/bibtex.el:
* lisp/textmodes/conf-mode.el:
* lisp/textmodes/css-mode.el:
* lisp/textmodes/refill.el:
* lisp/textmodes/sgml-mode.el:
* lisp/textmodes/tex-mode.el:
* lisp/tutorial.el:
* lisp/url/url-dav.el:
* lisp/url/url-gw.el:
* lisp/url/url-http.el:
* lisp/url/url-methods.el:
* lisp/url/url-privacy.el:
* lisp/vc/cvs-status.el:
* lisp/vc/diff-mode.el:
* lisp/vc/ediff-init.el:
* lisp/vc/ediff-ptch.el:
* lisp/vc/log-edit.el:
* lisp/vc/log-view.el:
* lisp/vc/pcvs-info.el:
* lisp/vc/pcvs.el:
* lisp/vc/smerge-mode.el:
* lisp/vc/vc-git.el:
* lisp/vc/vc-hg.el:
* lisp/vc/vc-mtn.el:
* lisp/vc/vc-rcs.el:
* lisp/whitespace.el:
* lisp/window.el:
* test/lisp/electric-tests.el:
* test/lisp/emacs-lisp/cl-lib-tests.el:
* test/lisp/emacs-lisp/ert-tests.el:
* test/lisp/epg-tests.el:
* test/lisp/jsonrpc-tests.el:
* test/src/data-tests.el:
* test/src/json-tests.el: Replace most insignificant backquotes.

220 files changed:
admin/admin.el
lisp/apropos.el
lisp/arc-mode.el
lisp/auth-source.el
lisp/avoid.el
lisp/bindings.el
lisp/bs.el
lisp/calculator.el
lisp/calendar/todo-mode.el
lisp/cedet/semantic.el
lisp/cedet/semantic/analyze/debug.el
lisp/cedet/semantic/bovine.el
lisp/cedet/semantic/dep.el
lisp/cedet/semantic/grammar.el
lisp/cedet/semantic/wisent/comp.el
lisp/cedet/semantic/wisent/grammar.el
lisp/cedet/srecode/mode.el
lisp/cus-edit.el
lisp/doc-view.el
lisp/elec-pair.el
lisp/electric.el
lisp/emacs-lisp/autoload.el
lisp/emacs-lisp/benchmark.el
lisp/emacs-lisp/byte-opt.el
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/cconv.el
lisp/emacs-lisp/cl-extra.el
lisp/emacs-lisp/cl-generic.el
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/copyright.el
lisp/emacs-lisp/debug.el
lisp/emacs-lisp/eieio-compat.el
lisp/emacs-lisp/ert.el
lisp/emacs-lisp/generator.el
lisp/emacs-lisp/inline.el
lisp/emacs-lisp/macroexp.el
lisp/emacs-lisp/map.el
lisp/emacs-lisp/package-x.el
lisp/emacs-lisp/package.el
lisp/emacs-lisp/radix-tree.el
lisp/emacs-lisp/smie.el
lisp/epa.el
lisp/erc/erc-dcc.el
lisp/erc/erc-track.el
lisp/erc/erc.el
lisp/eshell/em-ls.el
lisp/eshell/esh-cmd.el
lisp/files.el
lisp/filesets.el
lisp/font-lock.el
lisp/frameset.el
lisp/gnus/gnus-agent.el
lisp/gnus/gnus-art.el
lisp/gnus/gnus-cite.el
lisp/gnus/gnus-group.el
lisp/gnus/gnus-msg.el
lisp/gnus/gnus-salt.el
lisp/gnus/gnus-srvr.el
lisp/gnus/gnus-sum.el
lisp/gnus/gnus-topic.el
lisp/gnus/gnus-util.el
lisp/gnus/gnus.el
lisp/gnus/message.el
lisp/gnus/mm-util.el
lisp/gnus/mml.el
lisp/gnus/nnheader.el
lisp/gnus/nnimap.el
lisp/gnus/nnmairix.el
lisp/gnus/spam.el
lisp/hexl.el
lisp/hi-lock.el
lisp/ibuf-ext.el
lisp/ibuffer.el
lisp/ido.el
lisp/info.el
lisp/international/mule-cmds.el
lisp/international/mule-util.el
lisp/json.el
lisp/jsonrpc.el
lisp/language/cyrillic.el
lisp/language/european.el
lisp/language/georgian.el
lisp/language/tibetan.el
lisp/language/utf-8-lang.el
lisp/language/vietnamese.el
lisp/ldefs-boot.el
lisp/mail/mail-extr.el
lisp/man.el
lisp/menu-bar.el
lisp/mh-e/mh-acros.el
lisp/mh-e/mh-folder.el
lisp/mh-e/mh-mime.el
lisp/mh-e/mh-show.el
lisp/mh-e/mh-speed.el
lisp/minibuffer.el
lisp/mpc.el
lisp/net/ange-ftp.el
lisp/net/hmac-def.el
lisp/net/newst-backend.el
lisp/net/quickurl.el
lisp/net/tramp-archive.el
lisp/net/tramp-compat.el
lisp/notifications.el
lisp/obsolete/pgg-parse.el
lisp/obsolete/vc-arch.el
lisp/obsolete/xesam.el
lisp/org/ob-C.el
lisp/org/ob-core.el
lisp/org/ob-exp.el
lisp/org/ob-groovy.el
lisp/org/ob-haskell.el
lisp/org/ob-io.el
lisp/org/ob-lisp.el
lisp/org/ob-lob.el
lisp/org/ob-lua.el
lisp/org/ob-octave.el
lisp/org/ob-perl.el
lisp/org/ob-python.el
lisp/org/ob-ref.el
lisp/org/ob-ruby.el
lisp/org/ob-sql.el
lisp/org/org-agenda.el
lisp/org/org-capture.el
lisp/org/org-clock.el
lisp/org/org-colview.el
lisp/org/org-duration.el
lisp/org/org-element.el
lisp/org/org-entities.el
lisp/org/org-gnus.el
lisp/org/org-indent.el
lisp/org/org-info.el
lisp/org/org-inlinetask.el
lisp/org/org-lint.el
lisp/org/org-list.el
lisp/org/org-mouse.el
lisp/org/org-plot.el
lisp/org/org-src.el
lisp/org/org-table.el
lisp/org/org.el
lisp/org/ox-ascii.el
lisp/org/ox-html.el
lisp/org/ox-latex.el
lisp/org/ox-man.el
lisp/org/ox-md.el
lisp/org/ox-org.el
lisp/org/ox-publish.el
lisp/org/ox-texinfo.el
lisp/org/ox.el
lisp/play/bubbles.el
lisp/play/gamegrid.el
lisp/progmodes/autoconf.el
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el
lisp/progmodes/cperl-mode.el
lisp/progmodes/ebrowse.el
lisp/progmodes/elisp-mode.el
lisp/progmodes/flymake-cc.el
lisp/progmodes/flymake.el
lisp/progmodes/fortran.el
lisp/progmodes/grep.el
lisp/progmodes/gud.el
lisp/progmodes/idlwave.el
lisp/progmodes/js.el
lisp/progmodes/m4-mode.el
lisp/progmodes/make-mode.el
lisp/progmodes/mixal-mode.el
lisp/progmodes/modula2.el
lisp/progmodes/octave.el
lisp/progmodes/opascal.el
lisp/progmodes/prolog.el
lisp/progmodes/ps-mode.el
lisp/progmodes/python.el
lisp/progmodes/ruby-mode.el
lisp/progmodes/sh-script.el
lisp/progmodes/sql.el
lisp/progmodes/verilog-mode.el
lisp/ps-mule.el
lisp/rtree.el
lisp/ruler-mode.el
lisp/ses.el
lisp/simple.el
lisp/startup.el
lisp/subr.el
lisp/term/ns-win.el
lisp/textmodes/bibtex.el
lisp/textmodes/conf-mode.el
lisp/textmodes/css-mode.el
lisp/textmodes/refill.el
lisp/textmodes/sgml-mode.el
lisp/textmodes/tex-mode.el
lisp/tutorial.el
lisp/url/url-dav.el
lisp/url/url-gw.el
lisp/url/url-http.el
lisp/url/url-methods.el
lisp/url/url-privacy.el
lisp/vc/cvs-status.el
lisp/vc/diff-mode.el
lisp/vc/ediff-init.el
lisp/vc/ediff-ptch.el
lisp/vc/log-edit.el
lisp/vc/log-view.el
lisp/vc/pcvs-info.el
lisp/vc/pcvs.el
lisp/vc/smerge-mode.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc-mtn.el
lisp/vc/vc-rcs.el
lisp/whitespace.el
lisp/window.el
test/lisp/electric-tests.el
test/lisp/emacs-lisp/cl-lib-tests.el
test/lisp/emacs-lisp/ert-tests.el
test/lisp/epg-tests.el
test/lisp/jsonrpc-tests.el
test/src/data-tests.el
test/src/json-tests.el

index 1cad7ae2776295109b42070af4a9b2428426f7f2..3fc50afe9f0a281dbb355655aba0d2698d6c8d75 100644 (file)
@@ -657,7 +657,7 @@ style=\"text-align:left\">")
 
 \f
 (defconst make-manuals-dist-output-variables
-  `(("@\\(top_\\)?srcdir@" . ".")      ; top_srcdir is wrong, but not used
+  '(("@\\(top_\\)?srcdir@" . ".")      ; top_srcdir is wrong, but not used
     ("^\\(\\(?:texinfo\\|buildinfo\\|emacs\\)dir *=\\).*" . "\\1 .")
     ("^\\(clean:.*\\)" . "\\1 infoclean")
     ("@MAKEINFO@" . "makeinfo")
index b774036261bef72308d26c70ded3eeec79536715..a13a0c25359817b5995d4939c874f56041179030 100644 (file)
@@ -688,12 +688,12 @@ the output includes key-bindings of commands."
     (dolist (x (cdr lh-entry))
       (pcase (car-safe x)
        ;; (autoload (push (cdr x) autoloads))
-       (`require (push (cdr x) requires))
-       (`provide (push (cdr x) provides))
-        (`t nil) ; Skip "was an autoload" entries.
+       ('require (push (cdr x) requires))
+       ('provide (push (cdr x) provides))
+        ('t nil) ; Skip "was an autoload" entries.
         ;; FIXME: Print information about each individual method: both
         ;; its docstring and specializers (bug#21422).
-        (`cl-defmethod (push (cadr x) provides))
+        ('cl-defmethod (push (cadr x) provides))
        (_ (push (or (cdr-safe x) x) symbols))))
     (let ((apropos-pattern "")) ;Dummy binding for apropos-symbols-internal.
       (apropos-symbols-internal
index 50048c0cb39452906b5bdf3a62fa8b17a9de0718..068702bc71b37eaf9329415db967265a69c7f554 100644 (file)
@@ -2066,7 +2066,7 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
       ;; The code below assumes the name is relative and may do undesirable
       ;; things otherwise.
       (error "Can't extract files with non-relative names")
-    (archive-extract-by-file archive name `("unar" "-no-directory" "-o") "Successfully extracted")))
+    (archive-extract-by-file archive name '("unar" "-no-directory" "-o") "Successfully extracted")))
 
 ;;; Section: Rar self-extracting .exe archives.
 
index fd529b392ab44e33a0ccad71a35a4b0bb2552f04..fda6cfc34b80dd171d122b2c756924d3c4810aa0 100644 (file)
@@ -167,7 +167,7 @@ let-binding."
 (defcustom auth-source-save-behavior 'ask
   "If set, auth-source will respect it for save behavior."
   :version "23.2" ;; No Gnus
-  :type `(choice
+  :type '(choice
           :tag "auth-source new token save behavior"
           (const :tag "Always save" t)
           (const :tag "Never save" nil)
@@ -200,7 +200,7 @@ Note that if EPA/EPG is not available, this should NOT be used."
 (defcustom auth-source-do-cache t
   "Whether auth-source should cache information with `password-cache'."
   :version "23.2" ;; No Gnus
-  :type `boolean)
+  :type 'boolean)
 
 (defcustom auth-source-debug nil
   "Whether auth-source should log debug messages.
@@ -214,7 +214,7 @@ for passwords).
 If the value is a function, debug messages are logged by calling
  that function using the same arguments as `message'."
   :version "23.2" ;; No Gnus
-  :type `(choice
+  :type '(choice
           :tag "auth-source debugging mode"
           (const :tag "Log using `message' to the *Messages* buffer" t)
           (const :tag "Log all trivia with `message' to the *Messages* buffer"
index 5e99dd8eba86392c54ddb5cc6a20056fb608d1b6..f5519e94932123fdff1553a5927c24440d9ed4a0 100644 (file)
@@ -205,8 +205,8 @@ If you want the mouse banished to a different corner set
                               'frame-or-window
                               mouse-avoidance-banish-position 'eq))
          (list-values        (pcase fra-or-win
-                               (`frame (list 0 0 (frame-width) (frame-height)))
-                               (`window (window-edges))))
+                               ('frame (list 0 0 (frame-width) (frame-height)))
+                               ('window (window-edges))))
          (alist              (cl-loop for v in list-values
                                       for k in '(left top right bottom)
                                       collect (cons k v)))
@@ -223,11 +223,11 @@ If you want the mouse banished to a different corner set
                               'top-or-bottom-pos
                               mouse-avoidance-banish-position #'eq))
          (side-fn            (pcase side
-                               (`left '+)
-                               (`right '-)))
+                               ('left '+)
+                               ('right '-)))
          (top-or-bottom-fn   (pcase top-or-bottom
-                               (`top '+)
-                               (`bottom '-))))
+                               ('top '+)
+                               ('bottom '-))))
     (cons (funcall side-fn                        ; -/+
                    (assoc-default side alist 'eq) ; right or left
                    side-dist)                     ; distance from side
index bc4e741d01bf6dedc32959a2495c78264d0dc90d..10c4ae50a995ccf7d787133aad57525cd86b10e2 100644 (file)
@@ -417,7 +417,7 @@ zero, otherwise they start from one."
 This option specifies both the field width and the type of offset
 displayed in `mode-line-position', a component of the default
 `mode-line-format'."
-  :type `(radio
+  :type '(radio
           (const :tag "nil:  No offset is displayed" nil)
           (const :tag "\"%o\": Proportion of \"travel\" of the window through the buffer"
                  (-3 "%o"))
@@ -724,11 +724,11 @@ okay.  See `mode-line-format'.")
       ;; FIXME: Maybe beginning-of-line, beginning-of-buffer, end-of-line,
       ;; end-of-buffer, end-of-file, buffer-read-only, and
       ;; file-supersession should all be user-errors!
-      `(beginning-of-line beginning-of-buffer end-of-line
-       end-of-buffer end-of-file buffer-read-only
-       file-supersession mark-inactive
-        user-error ;; That's the main one!
-        ))
+      '(beginning-of-line beginning-of-buffer end-of-line
+                         end-of-buffer end-of-file buffer-read-only
+                         file-supersession mark-inactive
+                          user-error ;; That's the main one!
+                          ))
 
 (make-variable-buffer-local 'indent-tabs-mode)
 
index 32431ba44664f8a2be5ca4e7f451a0386687ae56..1021e8243025d5d6ac9e10c68aa6cb9f61870e35 100644 (file)
@@ -828,8 +828,8 @@ See `visit-tags-table'."
   (let ((res
          (with-current-buffer (bs--current-buffer)
            (setq bs-buffer-show-mark (pcase bs-buffer-show-mark
-                                       (`nil   'never)
-                                       (`never 'always)
+                                       ('nil   'never)
+                                       ('never 'always)
                                        (_       nil))))))
     (bs--update-current-line)
     (bs--set-window-height)
index f559fb48284f51a38517b8bea4df1d66459c67df..c3fb68931e9131b873e1ee0159fcc33ed6874944 100644 (file)
@@ -1184,7 +1184,7 @@ arguments."
           (DX (if (and X calculator-deg) (degrees-to-radians X) X))
           (L  calculator-saved-list)
           (fF `(calculator-funcall ',f x y))
-          (fD `(if calculator-deg (radians-to-degrees x) x)))
+          (fD '(if calculator-deg (radians-to-degrees x) x)))
       (eval `(cl-flet ((F (&optional x y) ,fF) (D (x) ,fD))
                (let ((X ,X) (Y ,Y) (DX ,DX) (TX ,TX) (TY ,TY) (L ',L))
                  ,f))
@@ -1226,7 +1226,7 @@ OP is the operator (if any) that caused this call."
     (when (and (or calculator-display-fragile
                    (not (numberp (car calculator-stack))))
                (<= inp (pcase calculator-input-radix
-                         (`nil ?9) (`bin ?1) (`oct ?7) (_ 999))))
+                         ('nil ?9) ('bin ?1) ('oct ?7) (_ 999))))
       (calculator-clear-fragile)
       (setq calculator-curnum
             (concat (if (equal calculator-curnum "0") ""
index 7d01fe31fb21a88ba9f37dd5c197b5915e755062..41fe57e60ce896701e0a54f5deb128fc8e7d81c2 100644 (file)
@@ -6389,8 +6389,7 @@ Filtered Items mode following todo (not done) items."
 ;; -----------------------------------------------------------------------------
 
 (defvar todo-key-bindings-t
-  `(
-    ("Af"           todo-find-archive)
+  '(("Af"           todo-find-archive)
     ("Ac"           todo-choose-archive)
     ("Ad"           todo-archive-done-item)
     ("Cv"           todo-toggle-view-done-items)
@@ -6421,13 +6420,11 @@ Filtered Items mode following todo (not done) items."
     ("k"            todo-delete-item)
     ("m"            todo-move-item)
     ("u"            todo-item-undone)
-    ([remap newline] newline-and-indent)
-   )
+    ([remap newline] newline-and-indent))
   "List of key bindings for Todo mode only.")
 
 (defvar todo-key-bindings-t+a+f
-  `(
-    ("C*" todo-mark-category)
+  '(("C*" todo-mark-category)
     ("Cu" todo-unmark-category)
     ("Fh" todo-toggle-item-header)
     ("h"  todo-toggle-item-header)
@@ -6444,27 +6441,22 @@ Filtered Items mode following todo (not done) items."
     ("p"  todo-previous-item)
     ("q"  todo-quit)
     ("s"  todo-save)
-    ("t"  todo-show)
-   )
+    ("t"  todo-show))
   "List of key bindings for Todo, Archive, and Filtered Items modes.")
 
 (defvar todo-key-bindings-t+a
-  `(
-    ("Fc" todo-show-categories-table)
+  '(("Fc" todo-show-categories-table)
     ("S"  todo-search)
     ("X"  todo-clear-matches)
     ("b"  todo-backward-category)
     ("f"  todo-forward-category)
-    ("*"  todo-toggle-mark-item)
-   )
+    ("*"  todo-toggle-mark-item))
   "List of key bindings for Todo and Todo Archive modes.")
 
 (defvar todo-key-bindings-t+f
-  `(
-    ("l" todo-lower-item-priority)
+  '(("l" todo-lower-item-priority)
     ("r" todo-raise-item-priority)
-    ("#" todo-set-item-priority)
-   )
+    ("#" todo-set-item-priority))
   "List of key bindings for Todo and Todo Filtered Items modes.")
 
 (defvar todo-mode-map
index f0a1e6bb5a806abd3f22384685f698c4a0bec72d..08a827ffa2021201a202fc11e6c96c9c8b97ff25 100644 (file)
@@ -225,37 +225,37 @@ during a flush when the cache is given a new value of nil.")
   "Indicate that the current buffer is unparseable.
 It is also true that the parse tree will need either updating or
 a rebuild.  This state will be changed when the user edits the buffer."
-  `(setq semantic-parse-tree-state 'unparseable))
+  '(setq semantic-parse-tree-state 'unparseable))
 
 (defmacro semantic-parse-tree-unparseable-p ()
   "Return non-nil if the current buffer has been marked unparseable."
-  `(eq semantic-parse-tree-state 'unparseable))
+  '(eq semantic-parse-tree-state 'unparseable))
 
 (defmacro semantic-parse-tree-set-needs-update ()
   "Indicate that the current parse tree needs to be updated.
 The parse tree can be updated by `semantic-parse-changes'."
-  `(setq semantic-parse-tree-state 'needs-update))
+  '(setq semantic-parse-tree-state 'needs-update))
 
 (defmacro semantic-parse-tree-needs-update-p ()
   "Return non-nil if the current parse tree needs to be updated."
-  `(eq semantic-parse-tree-state 'needs-update))
+  '(eq semantic-parse-tree-state 'needs-update))
 
 (defmacro semantic-parse-tree-set-needs-rebuild ()
   "Indicate that the current parse tree needs to be rebuilt.
 The parse tree must be rebuilt by `semantic-parse-region'."
-  `(setq semantic-parse-tree-state 'needs-rebuild))
+  '(setq semantic-parse-tree-state 'needs-rebuild))
 
 (defmacro semantic-parse-tree-needs-rebuild-p ()
   "Return non-nil if the current parse tree needs to be rebuilt."
-  `(eq semantic-parse-tree-state 'needs-rebuild))
+  '(eq semantic-parse-tree-state 'needs-rebuild))
 
 (defmacro semantic-parse-tree-set-up-to-date ()
   "Indicate that the current parse tree is up to date."
-  `(setq semantic-parse-tree-state nil))
+  '(setq semantic-parse-tree-state nil))
 
 (defmacro semantic-parse-tree-up-to-date-p ()
   "Return non-nil if the current parse tree is up to date."
-  `(null semantic-parse-tree-state))
+  '(null semantic-parse-tree-state))
 
 ;;; Interfacing with the system
 ;;
index 604155693451375240b76efe3eea54416483e198..cff20a549b959a301929c0a4b7bdfe274bace47b 100644 (file)
@@ -558,19 +558,19 @@ PARENT is a possible parent (by nesting) tag."
                         'mouse-face 'custom-button-pressed-face
                         'tag tag
                         'action
-                        `(lambda (button)
-                           (let ((buff nil)
-                                 (pnt nil))
-                             (save-excursion
-                               (semantic-go-to-tag
-                                (button-get button 'tag))
-                               (setq buff (current-buffer))
-                               (setq pnt (point)))
-                             (if (get-buffer-window buff)
-                                 (select-window (get-buffer-window buff))
-                               (pop-to-buffer buff t))
-                             (goto-char pnt)
-                             (pulse-line-hook-function)))
+                        (lambda (button)
+                          (let ((buff nil)
+                                (pnt nil))
+                            (save-excursion
+                              (semantic-go-to-tag
+                               (button-get button 'tag))
+                              (setq buff (current-buffer))
+                              (setq pnt (point)))
+                            (if (get-buffer-window buff)
+                                (select-window (get-buffer-window buff))
+                              (pop-to-buffer buff t))
+                            (goto-char pnt)
+                            (pulse-line-hook-function)))
                         ))
       (princ "\"")
       (princ str)
index 2e372896003bdde3c3cb6fa053f841e75eecd298..dbd7c3e211c96f6635e317c42c58fdcc8f521fc3 100644 (file)
@@ -72,7 +72,7 @@ The return list is a lambda expression to be used in a bovine table."
   "Return the current nonterminal symbol.
 Part of the grammar source debugger.  Depends on the existing
 environment of `semantic-bovinate-stream'."
-  `(if nt-stack
+  '(if nt-stack
        (car (aref (car nt-stack) 2))
      nonterminal))
 
index 640884d014b37a997c50c4cbe4e7e2b86f77b078..3f19f51658050e42cf4cf2d0f52b18c0e656a353 100644 (file)
@@ -56,7 +56,7 @@ reparsed, the cache will be reset.
 TODO: use ffap.el to locate such items?
 
 NOTE: Obsolete this, or use as special user")
-(make-variable-buffer-local `semantic-dependency-include-path)
+(make-variable-buffer-local 'semantic-dependency-include-path)
 
 (defvar semantic-dependency-system-include-path nil
   "Defines the system include path.
@@ -71,7 +71,7 @@ When searching for a file associated with a name found in a tag of
 class include, this path will be inspected for includes of type
 `system'.  Some include tags are agnostic to this setting and will
 check both the project and system directories.")
-(make-variable-buffer-local `semantic-dependency-system-include-path)
+(make-variable-buffer-local 'semantic-dependency-system-include-path)
 
 (defmacro defcustom-mode-local-semantic-dependency-system-include-path
   (mode name value &optional docstring)
index ccfb4ecf8e0ad18bd325002fb08c79c8c1ad69c5..e4dfd5c4c5c44dd0fd375887eadbd6ed7ffd40dd 100644 (file)
@@ -1611,7 +1611,7 @@ Select the buffer containing the tag's definition, and move point there."
 ;;
 
 (defvar semantic-grammar-syntax-help
-  `(
+  '(
     ;; Lexical Symbols
     ("symbol" . "Syntax: A symbol of alpha numeric and symbol characters")
     ("number" . "Syntax: Numeric characters.")
index 21ea7ed0665c9ffedc81d717f6b39718aadc666c..479b07c42917e386e11b859b1d93ded1560e7c27 100644 (file)
@@ -196,11 +196,11 @@ If optional LEFT is non-nil insert spaces on left."
 (defmacro wisent-log-buffer ()
   "Return the log buffer.
 Its name is defined in constant `wisent-log-buffer-name'."
-  `(get-buffer-create wisent-log-buffer-name))
+  '(get-buffer-create wisent-log-buffer-name))
 
 (defmacro wisent-clear-log ()
   "Delete the entire contents of the log buffer."
-  `(with-current-buffer (wisent-log-buffer)
+  '(with-current-buffer (wisent-log-buffer)
      (erase-buffer)))
 
 (defvar byte-compile-current-file)
index d55b38aac49404822a7eb3ef2d49dad029e020d8..4b5cc0be89941747090a8b07d6f4f069396007a9 100644 (file)
@@ -194,7 +194,7 @@ See also the function `wisent-skip-block'."
   "Expand call to SKIP-TOKEN grammar macro.
 Return the form to skip the lookahead token.
 See also the function `wisent-skip-token'."
-  `(wisent-skip-token))
+  '(wisent-skip-token))
 
 (defun wisent-grammar-assocs ()
   "Return associativity and precedence level definitions."
index 28e8b3b64ea261a1af1884a03a92b9c2f86c1f9c..2bdc58a70e516f937b58509cab0b01f3c4f8aecb 100644 (file)
      ])
    "---"
    '( "Insert ..." :filter srecode-minor-mode-templates-menu )
-   `( "Generate ..." :filter srecode-minor-mode-generate-menu )
+   '( "Generate ..." :filter srecode-minor-mode-generate-menu )
    "---"
-    (semantic-menu-item
-     ["Customize..."
-      (customize-group "srecode")
-      :active t
-      :help "Customize SRecode options"
-      ])
+   (semantic-menu-item
+    ["Customize..."
+     (customize-group "srecode")
+     :active t
+     :help "Customize SRecode options"
+     ])
    (list
     "Debugging Tools..."
     (semantic-menu-item
index b69a63b80f56529e4b89761277bf3b85b8ce0e9c..9aac0fba353b191181c5c674dde1e2ae01c5ad28 100644 (file)
@@ -2444,7 +2444,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
   :group 'custom-faces)
 
 (defface custom-variable-tag
-  `((((class color) (background dark))
+  '((((class color) (background dark))
      :foreground "light blue" :weight bold)
     (((min-colors 88) (class color) (background light))
      :foreground "blue1" :weight bold)
@@ -3920,7 +3920,7 @@ restoring it to the state of a face that has never been customized."
 (defun custom-hook-convert-widget (widget)
   ;; Handle `:options'.
   (let* ((options (widget-get widget :options))
-        (other `(editable-list :inline t
+        (other '(editable-list :inline t
                                :entry-format "%i %d%v"
                                (function :format " %v")))
         (args (if options
index 6f1143ba85aff22eb1dece5a9b1d448a19cbacd8..48d0c080c1da84d79e2e241a21c528a8e038ca36 100644 (file)
@@ -494,10 +494,10 @@ Typically \"page-%s.png\".")
 
 (defmacro doc-view-current-page (&optional win)
   `(image-mode-window-get 'page ,win))
-(defmacro doc-view-current-info () `(image-mode-window-get 'info))
-(defmacro doc-view-current-overlay () `(image-mode-window-get 'overlay))
-(defmacro doc-view-current-image () `(image-mode-window-get 'image))
-(defmacro doc-view-current-slice () `(image-mode-window-get 'slice))
+(defmacro doc-view-current-info () '(image-mode-window-get 'info))
+(defmacro doc-view-current-overlay () '(image-mode-window-get 'overlay))
+(defmacro doc-view-current-image () '(image-mode-window-get 'image))
+(defmacro doc-view-current-slice () '(image-mode-window-get 'slice))
 
 (defun doc-view-last-page-number ()
   (length doc-view--current-files))
@@ -1004,8 +1004,8 @@ is named like ODF with the extension turned to pdf."
   "Convert PDF-PS to PNG asynchronously."
   (funcall
    (pcase doc-view-doc-type
-     (`pdf doc-view-pdf->png-converter-function)
-     (`djvu #'doc-view-djvu->tiff-converter-ddjvu)
+     ('pdf doc-view-pdf->png-converter-function)
+     ('djvu #'doc-view-djvu->tiff-converter-ddjvu)
      (_ #'doc-view-ps->png-converter-ghostscript))
    pdf-ps png nil
    (let ((resolution doc-view-resolution))
@@ -1074,20 +1074,20 @@ Start by converting PAGES, and then the rest."
   "Convert the current document to text and call CALLBACK when done."
   (make-directory (doc-view--current-cache-dir) t)
   (pcase doc-view-doc-type
-    (`pdf
+    ('pdf
      ;; Doc is a PDF, so convert it to TXT
      (doc-view-pdf->txt doc-view--buffer-file-name txt callback))
-    (`ps
+    ('ps
      ;; Doc is a PS, so convert it to PDF (which will be converted to
      ;; TXT thereafter).
      (let ((pdf (doc-view-current-cache-doc-pdf)))
        (doc-view-ps->pdf doc-view--buffer-file-name pdf
                          (lambda () (doc-view-pdf->txt pdf txt callback)))))
-    (`dvi
+    ('dvi
      ;; Doc is a DVI.  This means that a doc.pdf already exists in its
      ;; cache subdirectory.
      (doc-view-pdf->txt (doc-view-current-cache-doc-pdf) txt callback))
-    (`odf
+    ('odf
      ;; Doc is some ODF (or MS Office) doc.  This means that a doc.pdf
      ;; already exists in its cache subdirectory.
      (doc-view-pdf->txt (doc-view-current-cache-doc-pdf) txt callback))
@@ -1128,13 +1128,13 @@ Those files are saved in the directory given by the function
                    (doc-view--current-cache-dir))))
     (make-directory (doc-view--current-cache-dir) t)
     (pcase doc-view-doc-type
-      (`dvi
+      ('dvi
        ;; DVI files have to be converted to PDF before Ghostscript can process
        ;; it.
        (let ((pdf (doc-view-current-cache-doc-pdf)))
          (doc-view-dvi->pdf doc-view--buffer-file-name pdf
                             (lambda () (doc-view-pdf/ps->png pdf png-file)))))
-      (`odf
+      ('odf
        ;; ODF files have to be converted to PDF before Ghostscript can
        ;; process it.
        (let ((pdf (doc-view-current-cache-doc-pdf))
@@ -1147,11 +1147,11 @@ Those files are saved in the directory given by the function
         ;; file name.  It's named like the input file with the
         ;; extension replaced by pdf.
          (funcall doc-view-odf->pdf-converter-function doc-view--buffer-file-name
-                            (lambda ()
-                             ;; Rename to doc.pdf
-                             (rename-file opdf pdf)
-                             (doc-view-pdf/ps->png pdf png-file)))))
-      ((or `pdf `djvu)
+                  (lambda ()
+                   ;; Rename to doc.pdf
+                   (rename-file opdf pdf)
+                   (doc-view-pdf/ps->png pdf png-file)))))
+      ((or 'pdf 'djvu)
        (let ((pages (doc-view-active-pages)))
          ;; Convert doc to bitmap images starting with the active pages.
          (doc-view-document->bitmap doc-view--buffer-file-name png-file pages)))
@@ -1695,7 +1695,7 @@ If BACKWARD is non-nil, jump to the previous match."
   "Find the right single-page converter for the current document type"
   (pcase-let ((`(,conv-function ,type ,extension)
                (pcase doc-view-doc-type
-                 (`djvu (list #'doc-view-djvu->tiff-converter-ddjvu 'tiff "tif"))
+                 ('djvu (list #'doc-view-djvu->tiff-converter-ddjvu 'tiff "tif"))
                  (_     (list doc-view-pdf->png-converter-function  'png  "png")))))
     (setq-local doc-view-single-page-converter-function conv-function)
     (setq-local doc-view--image-type type)
index 7df70982957050882a9b6cbcbf129ba8ac12a703..64ed0f6be5cd46ceaae23fad8512cabb9446f884 100644 (file)
@@ -522,7 +522,7 @@ happened."
                                    pos))
          (forward-char))
         ;; Insert matching pair.
-        ((and (memq syntax `(?\( ?\" ?\$))
+        ((and (memq syntax '(?\( ?\" ?\$))
               (not overwrite-mode)
               (or unconditional
                   (not (funcall electric-pair-inhibit-predicate
index 8730b0752c8a0352e90284a0766e25d7c2ced18e..6dbf46b80c83c202b682a184eb5ce604e279a80b 100644 (file)
@@ -391,13 +391,13 @@ newline after CHAR but stay in the same place.")
           ;; multiple times), but I'm not sure it's what we want.
           ;;
           ;; FIXME: check eolp before inserting \n?
-          (`before (goto-char (1- pos)) (skip-chars-backward " \t")
+          ('before (goto-char (1- pos)) (skip-chars-backward " \t")
                    (unless (bolp) (insert "\n")))
-          (`after  (insert "\n"))
-          (`after-stay (save-excursion
+          ('after  (insert "\n"))
+          ('after-stay (save-excursion
                          (let ((electric-layout-rules nil))
                            (newline 1 t))))
-          (`around (save-excursion
+          ('around (save-excursion
                      (goto-char (1- pos)) (skip-chars-backward " \t")
                      (unless (bolp) (insert "\n")))
                    (insert "\n")))      ; FIXME: check eolp before inserting \n?
index 22aac954d17ea95d887f58613f40eb476b3d598d..e4290baee943cd3655cdff947fdd46ec0c5eb8e5 100644 (file)
@@ -182,13 +182,13 @@ expression, in which case we want to handle forms differently."
       (let* ((macrop (memq car '(defmacro cl-defmacro defmacro*)))
             (name (nth 1 form))
             (args (pcase car
-                     ((or `defun `defmacro
-                          `defun* `defmacro* `cl-defun `cl-defmacro
-                          `define-overloadable-function)
+                     ((or 'defun 'defmacro
+                          'defun* 'defmacro* 'cl-defun 'cl-defmacro
+                          'define-overloadable-function)
                       (nth 2 form))
-                     (`define-skeleton '(&optional str arg))
-                     ((or `define-generic-mode `define-derived-mode
-                          `define-compilation-mode)
+                     ('define-skeleton '(&optional str arg))
+                     ((or 'define-generic-mode 'define-derived-mode
+                          'define-compilation-mode)
                       nil)
                      (_ t)))
             (body (nthcdr (or (function-get car 'doc-string-elt) 3) form))
index e062a1867a8835fd225ea1081d6015cebfbc06af..a9fa7c44c24a73cacd1f1694659935f4fe471f32 100644 (file)
@@ -81,7 +81,7 @@ result.  The overhead of the `lambda's is accounted for."
        (gcs (make-symbol "gcs"))
        (gc (make-symbol "gc"))
        (code (byte-compile `(lambda () ,@forms)))
-       (lambda-code (byte-compile `(lambda ()))))
+       (lambda-code (byte-compile '(lambda ()))))
     `(let ((,gc gc-elapsed)
           (,gcs gcs-done))
        (list ,(if (or (symbolp repetitions) (> repetitions 1))
index 4854808fd028728d31df1281d3d5ab31c1c20cfe..8d9779ea83d10ab3d749a75dcc47576b83188d63 100644 (file)
       (setq fn (or (symbol-function name)
                    (cdr (assq name byte-compile-function-environment)))))
     (pcase fn
-      (`nil
+      ('nil
        (byte-compile-warn "attempt to inline `%s' before it was defined"
                           name)
        form)
     (setq form (car (last (cdr form)))))
   (cond ((consp form)
          (pcase (car form)
-           (`quote (cadr form))
+           ('quote (cadr form))
            ;; Can't use recursion in a defsubst.
            ;; (`progn (byte-compile-trueconstp (car (last (cdr form)))))
            ))
     (setq form (car (last (cdr form)))))
   (cond ((consp form)
          (pcase (car form)
-           (`quote (null (cadr form)))
+           ('quote (null (cadr form)))
            ;; Can't use recursion in a defsubst.
            ;; (`progn (byte-compile-nilconstp (car (last (cdr form)))))
            ))
index 0b8f8824b4c61703348de252dedc6d11c93a152e..15f31dd5f2b48db2752f325d16c18fb17769b549 100644 (file)
@@ -1730,8 +1730,8 @@ that already has a `.elc' file."
                                            (file-name-nondirectory source))))
                    (progn (cl-incf
                            (pcase (byte-recompile-file source force arg)
-                             (`no-byte-compile skip-count)
-                             (`t file-count)
+                             ('no-byte-compile skip-count)
+                             ('t file-count)
                              (_ fail-count)))
                           (or noninteractive
                               (message "Checking %s..." directory))
@@ -3277,8 +3277,8 @@ for symbols generated by the byte compiler itself."
         (cl-assert (listp fargs))
         (while fargs
           (pcase (car fargs)
-            (`&optional (setq fargs (cdr fargs)))
-            (`&rest (setq fmax2 (+ (* 2 (length dynbinds)) 1))
+            ('&optional (setq fargs (cdr fargs)))
+            ('&rest (setq fmax2 (+ (* 2 (length dynbinds)) 1))
                     (push (cadr fargs) dynbinds)
                     (setq fargs nil))
             (_ (push (pop fargs) dynbinds))))
@@ -3325,8 +3325,8 @@ for symbols generated by the byte compiler itself."
                 (not (memq var byte-compile-not-obsolete-vars))
                 (not (memq var byte-compile-global-not-obsolete-vars))
                 (or (pcase (nth 1 od)
-                      (`set (not (eq access-type 'reference)))
-                      (`get (eq access-type 'reference))
+                      ('set (not (eq access-type 'reference)))
+                      ('get (eq access-type 'reference))
                       (_ t)))))
         (byte-compile-warn-obsolete var))))
 
@@ -4731,7 +4731,7 @@ binding slots have been popped."
              arg)
             ;; `lam' is the lambda expression in `fun' (or nil if not
             ;; recognized).
-            ((or `(,(or `quote `function) ,lam) (let lam nil))
+            ((or `(,(or 'quote 'function) ,lam) (let lam nil))
              fun)
             ;; `arglist' is the list of arguments (or t if not recognized).
             ;; `body' is the body of `lam' (or t if not recognized).
@@ -4918,18 +4918,18 @@ invoked interactively."
        (setq byte-compile-call-tree
              (sort byte-compile-call-tree
                    (pcase byte-compile-call-tree-sort
-                      (`callers
+                      ('callers
                        (lambda (x y) (< (length (nth 1 x))
-                                   (length (nth 1 y)))))
-                      (`calls
+                                        (length (nth 1 y)))))
+                      ('calls
                        (lambda (x y) (< (length (nth 2 x))
-                                   (length (nth 2 y)))))
-                      (`calls+callers
+                                        (length (nth 2 y)))))
+                      ('calls+callers
                        (lambda (x y) (< (+ (length (nth 1 x))
-                                      (length (nth 2 x)))
-                                   (+ (length (nth 1 y))
-                                      (length (nth 2 y))))))
-                      (`name
+                                           (length (nth 2 x)))
+                                        (+ (length (nth 1 y))
+                                           (length (nth 2 y))))))
+                      ('name
                        (lambda (x y) (string< (car x) (car y))))
                       (_ (error "`byte-compile-call-tree-sort': `%s' - unknown sort mode"
                                 byte-compile-call-tree-sort))))))
index 010026b4166378e4aec57bd5b4144c6507e44009..d776297fd068680f45ff339828eee83970843787 100644 (file)
@@ -322,7 +322,7 @@ places where they originally did not directly appear."
   ;; so we never touch it(unless we enter to the other closure).
   ;;(if (listp form) (print (car form)) form)
   (pcase form
-    (`(,(and letsym (or `let* `let)) ,binders . ,body)
+    (`(,(and letsym (or 'let* 'let)) ,binders . ,body)
 
                                        ; let and let* special forms
      (let ((binders-new '())
@@ -454,7 +454,7 @@ places where they originally did not directly appear."
     (`(function . ,_) form)
 
                                        ;defconst, defvar
-    (`(,(and sym (or `defconst `defvar)) ,definedsymbol . ,forms)
+    (`(,(and sym (or 'defconst 'defvar)) ,definedsymbol . ,forms)
      `(,sym ,definedsymbol
             . ,(when (consp forms)
                  (cons (cconv-convert (car forms) env extend)
@@ -496,8 +496,8 @@ places where they originally did not directly appear."
                        `((let ((,var (list ,var))) ,@body))))))
              handlers))))
 
-    (`(,(and head (or (and `catch (guard byte-compile--use-old-handlers))
-                      `unwind-protect))
+    (`(,(and head (or (and 'catch (guard byte-compile--use-old-handlers))
+                      'unwind-protect))
        ,form . ,body)
      `(,head ,(cconv-convert form env extend)
         :fun-body ,(cconv--convert-function () body env form)))
@@ -526,7 +526,7 @@ places where they originally did not directly appear."
              `(progn . ,(nreverse prognlist))
            (car prognlist)))))
 
-    (`(,(and (or `funcall `apply) callsym) ,fun . ,args)
+    (`(,(and (or 'funcall 'apply) callsym) ,fun . ,args)
      ;; These are not special forms but we treat them separately for the needs
      ;; of lambda lifting.
      (let ((mapping (cdr (assq fun env))))
@@ -655,7 +655,7 @@ This function does not return anything but instead fills the
 and updates the data stored in ENV."
   (pcase form
                                        ; let special form
-    (`(,(and (or `let* `let) letsym) ,binders . ,body-forms)
+    (`(,(and (or 'let* 'let) letsym) ,binders . ,body-forms)
 
      (let ((orig-env env)
            (newvars nil)
@@ -739,18 +739,18 @@ and updates the data stored in ENV."
                                    form "variable"))))
 
     ;; FIXME: The bytecode for unwind-protect forces us to wrap the unwind.
-    (`(,(or (and `catch (guard byte-compile--use-old-handlers))
-            `unwind-protect)
+    (`(,(or (and 'catch (guard byte-compile--use-old-handlers))
+            'unwind-protect)
        ,form . ,body)
      (cconv-analyze-form form env)
      (cconv--analyze-function () body env form))
 
     (`(defvar ,var) (push var byte-compile-bound-variables))
-    (`(,(or `defconst `defvar) ,var ,value . ,_)
+    (`(,(or 'defconst 'defvar) ,var ,value . ,_)
      (push var byte-compile-bound-variables)
      (cconv-analyze-form value env))
 
-    (`(,(or `funcall `apply) ,fun . ,args)
+    (`(,(or 'funcall 'apply) ,fun . ,args)
      ;; Here we ignore fun because funcall and apply are the only two
      ;; functions where we can pass a candidate for lambda lifting as
      ;; argument.  So, if we see fun elsewhere, we'll delete it from
index bea38a05096c18044624a15d8e912c9718206357..13988db9a8624fb0f2e73eb37b392ee3fed95d52 100644 (file)
@@ -576,9 +576,9 @@ too large if positive or too small if negative)."
   "Concatenate, into a sequence of type TYPE, the argument SEQUENCEs.
 \n(fn TYPE SEQUENCE...)"
   (pcase type
-    (`vector (apply #'vconcat sequences))
-    (`string (apply #'concat sequences))
-    (`list (apply #'append (append sequences '(nil))))
+    ('vector (apply #'vconcat sequences))
+    ('string (apply #'concat sequences))
+    ('list (apply #'append (append sequences '(nil))))
     (_ (error "Not a sequence type name: %S" type))))
 
 ;;; List functions.
@@ -742,7 +742,7 @@ including `cl-block' and `cl-eval-when'."
 (with-eval-after-load 'find-func
   (defvar find-function-regexp-alist)
   (add-to-list 'find-function-regexp-alist
-               `(define-type . cl--typedef-regexp)))
+               '(define-type . cl--typedef-regexp)))
 
 (define-button-type 'cl-help-type
   :supertype 'help-function-def
index c7f0c48f85cba8e66ebbe931539c4f65722a81dc..cad629d949861a91131b42bd73f5798c9abfdd69 100644 (file)
@@ -938,7 +938,7 @@ MET-NAME is as returned by `cl--generic-load-hist-format'."
   (add-to-list 'find-function-regexp-alist
                `(cl-defmethod . ,#'cl--generic-search-method))
   (add-to-list 'find-function-regexp-alist
-               `(cl-defgeneric . cl--generic-find-defgeneric-regexp)))
+               '(cl-defgeneric . cl--generic-find-defgeneric-regexp)))
 
 (defun cl--generic-method-info (method)
   (let* ((specializers (cl--generic-method-specializers method))
index 29ddd491af076bc94a0c07f8de416b6dcb49a760..bc78d80c67480ffcb37e1a4a29bb87288e4252d6 100644 (file)
@@ -1902,7 +1902,7 @@ Labels have lexical scope and dynamic extent."
           (push (nreverse block) blocks)
           (setq block (list label-or-stmt))))
       (unless (eq 'go (car-safe (car-safe block)))
-        (push `(go cl--exit) block))
+        (push '(go cl--exit) block))
       (push (nreverse block) blocks))
     (let ((catch-tag (make-symbol "cl--tagbody-tag"))
           (cl--tagbody-alist cl--tagbody-alist))
@@ -2185,7 +2185,7 @@ of `cl-symbol-macrolet' to additionally expand symbol macros."
             ;; The behavior of CL made sense in a dynamically scoped
             ;; language, but nowadays, lexical scoping semantics is more often
             ;; expected.
-            (`(,(or `let `let*) . ,(or `(,bindings . ,body) dontcare))
+            (`(,(or 'let 'let*) . ,(or `(,bindings . ,body) dontcare))
              (let ((nbs ()) (found nil))
                (dolist (binding bindings)
                  (let* ((var (if (symbolp binding) binding (car binding)))
@@ -3021,7 +3021,7 @@ the form NAME which is a shorthand for (NAME NAME)."
 
 (defun cl--defstruct-predicate (type)
   (let ((cons (assq (cl-struct-sequence-type type)
-                    `((list . consp)
+                    '((list . consp)
                       (vector . vectorp)
                       (nil . recordp)))))
     (if cons
@@ -3355,7 +3355,7 @@ The type name can then be used in `cl-typecase', `cl-check-type', etc."
      (put ',name 'cl-deftype-handler
           (cl-function (lambda (&cl-defs ('*) ,@arglist) ,@body)))))
 
-(cl-deftype extended-char () `(and character (not base-char)))
+(cl-deftype extended-char () '(and character (not base-char)))
 
 ;;; Additional functions that we can now define because we've defined
 ;;; `cl-defsubst' and `cl-typep'.
index 2f29c196964579a30c8d7937e88aa2bce695aaa1..54d9aa0118998e5095993facf27b239d8e4ea686 100644 (file)
@@ -347,7 +347,7 @@ independently replaces consecutive years with a range."
   "Insert a copyright by $ORGANIZATION notice at cursor."
   "Company: "
   comment-start
-  "Copyright (C) " `(format-time-string "%Y") " by "
+  "Copyright (C) " '(format-time-string "%Y") " by "
   (or (getenv "ORGANIZATION")
       str)
   '(if (copyright-offset-too-large-p)
index 7fc2b41c70c528a9a3e82292b41095b8ea51040a..34a2a1336d672decd6c70077fac52db812cfea6b 100644 (file)
@@ -354,26 +354,26 @@ Include the reason for debugger entry from ARGS."
   (pcase (car args)
     ;; lambda is for debug-on-call when a function call is next.
     ;; debug is for debug-on-entry function called.
-    ((or `lambda `debug)
+    ((or 'lambda 'debug)
      (insert "--entering a function:\n"))
     ;; Exiting a function.
-    (`exit
+    ('exit
      (insert "--returning value: ")
      (insert (backtrace-print-to-string debugger-value))
      (insert ?\n))
     ;; Watchpoint triggered.
-    ((and `watchpoint (let `(,symbol ,newval . ,details) (cdr args)))
+    ((and 'watchpoint (let `(,symbol ,newval . ,details) (cdr args)))
      (insert
       "--"
       (pcase details
-        (`(makunbound nil) (format "making %s void" symbol))
+        ('(makunbound nil) (format "making %s void" symbol))
         (`(makunbound ,buffer) (format "killing local value of %s in buffer %s"
                                        symbol buffer))
         (`(defvaralias ,_) (format "aliasing %s to %s" symbol newval))
         (`(let ,_) (format "let-binding %s to %s" symbol
                            (backtrace-print-to-string newval)))
         (`(unlet ,_) (format "ending let-binding of %s" symbol))
-        (`(set nil) (format "setting %s to %s" symbol
+        ('(set nil) (format "setting %s to %s" symbol
                             (backtrace-print-to-string newval)))
         (`(set ,buffer) (format "setting %s in buffer %s to %s"
                                 symbol buffer
@@ -382,12 +382,12 @@ Include the reason for debugger entry from ARGS."
       ": ")
      (insert ?\n))
     ;; Debugger entered for an error.
-    (`error
+    ('error
      (insert "--Lisp error: ")
      (insert (backtrace-print-to-string (nth 1 args)))
      (insert ?\n))
     ;; debug-on-call, when the next thing is an eval.
-    (`t
+    ('t
      (insert "--beginning evaluation of function call form:\n"))
     ;; User calls debug directly.
     (_
index e048d0e9ad462fe671d6ba880cc49259e7e69174..e343dcf37f9e3c37d66647e6817571f6ee36b0ce 100644 (file)
@@ -182,11 +182,11 @@ Summary:
           ;; `no-applicable-method', which have slightly different calling
           ;; convention than their cl-generic counterpart.
           (pcase method
-            (`no-next-method
+            ('no-next-method
              (setq method 'cl-no-next-method)
              (setq specializers `(generic method ,@specializers))
              (lambda (_generic _method &rest args) (apply code args)))
-            (`no-applicable-method
+            ('no-applicable-method
              (setq method 'cl-no-applicable-method)
              (setq specializers `(generic ,@specializers))
              (lambda (generic arg &rest args)
index eb9695d0c1243dea6280640c6edf2af3502503c7..9702a11998e1f53a91a3ea0d4bb92e3183ae37c1 100644 (file)
@@ -971,7 +971,7 @@ contained in UNIVERSE."
                       test
                       (ert-test-most-recent-result test))))
                 universe))
-    (:unexpected (ert-select-tests `(not :expected) universe))
+    (:unexpected (ert-select-tests '(not :expected) universe))
     ((pred stringp)
      (pcase-exhaustive universe
        (`t (mapcar #'ert-get-test
index e38c7d91096a84aeccdd92ae0c463cc9a9b08397..63783219fa1dc3670f8e446c08f02b43bdd84a82 100644 (file)
@@ -213,8 +213,8 @@ don't yield.")
 
     ;; Process `and'.
 
-    (`(and)                             ; (and) -> t
-      (cps--transform-1 t next-state))
+    ('(and)                             ; (and) -> t
+     (cps--transform-1 t next-state))
     (`(and ,condition)                  ; (and CONDITION) -> CONDITION
       (cps--transform-1 condition next-state))
     (`(and ,condition . ,rest)
@@ -246,8 +246,8 @@ don't yield.")
     ;; Process `cond': transform into `if' or `or' depending on the
     ;; precise kind of the condition we're looking at.
 
-    (`(cond)                            ; (cond) -> nil
-      (cps--transform-1 nil next-state))
+    ('(cond)                            ; (cond) -> nil
+     (cps--transform-1 nil next-state))
     (`(cond (,condition) . ,rest)
       (cps--transform-1 `(or ,condition (cond ,@rest))
                         next-state))
@@ -281,14 +281,14 @@ don't yield.")
     ;; Process `progn' and `inline': they are identical except for the
     ;; name, which has some significance to the byte compiler.
 
-    (`(inline) (cps--transform-1 nil next-state))
+    ('(inline) (cps--transform-1 nil next-state))
     (`(inline ,form) (cps--transform-1 form next-state))
     (`(inline ,form . ,rest)
       (cps--transform-1 form
                         (cps--transform-1 `(inline ,@rest)
                                           next-state)))
 
-    (`(progn) (cps--transform-1 nil next-state))
+    ('(progn) (cps--transform-1 nil next-state))
     (`(progn ,form) (cps--transform-1 form next-state))
     (`(progn ,form . ,rest)
       (cps--transform-1 form
@@ -345,7 +345,7 @@ don't yield.")
 
     ;; Process `or'.
 
-    (`(or) (cps--transform-1 nil next-state))
+    ('(or) (cps--transform-1 nil next-state))
     (`(or ,condition) (cps--transform-1 condition next-state))
     (`(or ,condition . ,rest)
       (cps--transform-1
@@ -646,11 +646,11 @@ modified copy."
                          ,(cps--make-close-iterator-form terminal-state)))))
                   (t (error "unknown iterator operation %S" op))))))
          ,(when finalizer-symbol
-                `(funcall iterator
-                          :stash-finalizer
-                          (make-finalizer
-                           (lambda ()
-                             (iter-close iterator)))))
+            '(funcall iterator
+                      :stash-finalizer
+                      (make-finalizer
+                       (lambda ()
+                         (iter-close iterator)))))
          iterator))))
 
 (defun iter-yield (value)
index 865e17e3d7d3541e56e45cbbd18d56851545c0c9..b6afcc0db9406a7cbbfbe11b8e3c170b01565d17 100644 (file)
@@ -259,7 +259,7 @@ See Info node `(elisp)Defining Functions' for more details."
   `(error ,@args))
 
 (defun inline--warning (&rest _args)
-  `(throw 'inline--just-use
+  '(throw 'inline--just-use
           ;; FIXME: This would inf-loop by calling us right back when
           ;; macroexpand-all recurses to expand inline--form.
           ;; (macroexp--warn-and-return (format ,@args)
index 93678bad7a63983e77f64ee4d82d901920a4fce1..2418264bdbca9aa327ad51faff6e06036e8286d4 100644 (file)
@@ -222,15 +222,15 @@ Assumes the caller has bound `macroexpand-all-environment'."
                                         (cddr form))
                         (cdr form))
         form))
-      (`(,(or `defvar `defconst) . ,_) (macroexp--all-forms form 2))
+      (`(,(or 'defvar 'defconst) . ,_) (macroexp--all-forms form 2))
       (`(function ,(and f `(lambda . ,_)))
        (macroexp--cons 'function
                        (macroexp--cons (macroexp--all-forms f 2)
                                        nil
                                        (cdr form))
                        form))
-      (`(,(or `function `quote) . ,_) form)
-      (`(,(and fun (or `let `let*)) . ,(or `(,bindings . ,body) dontcare))
+      (`(,(or 'function 'quote) . ,_) form)
+      (`(,(and fun (or 'let 'let*)) . ,(or `(,bindings . ,body) dontcare))
        (macroexp--cons fun
                        (macroexp--cons (macroexp--all-clauses bindings 1)
                                        (macroexp--all-forms body)
@@ -249,14 +249,14 @@ Assumes the caller has bound `macroexpand-all-environment'."
       ;; here, so that any code that cares about the difference will
       ;; see the same transformation.
       ;; First arg is a function:
-      (`(,(and fun (or `funcall `apply `mapcar `mapatoms `mapconcat `mapc))
+      (`(,(and fun (or 'funcall 'apply 'mapcar 'mapatoms 'mapconcat 'mapc))
          ',(and f `(lambda . ,_)) . ,args)
        (macroexp--warn-and-return
         (format "%s quoted with ' rather than with #'"
                 (list 'lambda (nth 1 f) '...))
         (macroexp--expand-all `(,fun ,f . ,args))))
       ;; Second arg is a function:
-      (`(,(and fun (or `sort)) ,arg1 ',(and f `(lambda . ,_)) . ,args)
+      (`(,(and fun (or 'sort)) ,arg1 ',(and f `(lambda . ,_)) . ,args)
        (macroexp--warn-and-return
         (format "%s quoted with ' rather than with #'"
                 (list 'lambda (nth 1 f) '...))
@@ -406,7 +406,7 @@ cases where EXP is a constant."
   "Bind each binding in BINDINGS as `macroexp-let2' does."
   (declare (indent 2) (debug (sexp (&rest (sexp form)) body)))
   (pcase-exhaustive bindings
-    (`nil (macroexp-progn body))
+    ('nil (macroexp-progn body))
     (`((,var ,exp) . ,tl)
      `(macroexp-let2 ,test ,var ,exp
         (macroexp-let2* ,test ,tl ,@body)))))
index 1f6f1ffbcda3dff3e729792bdcf05ca5cb57835c..987521d9d85117313ce4646ea3e5e5f92d700506 100644 (file)
@@ -331,8 +331,8 @@ MAP can be a list, hash-table or array."
 TYPE can be one of the following symbols: list or hash-table.
 MAP can be a list, hash-table or array."
   (pcase type
-    (`list (map-pairs map))
-    (`hash-table (map--into-hash-table map))
+    ('list (map-pairs map))
+    ('hash-table (map--into-hash-table map))
     (_ (error "Not a map type name: %S" type))))
 
 (defun map--put (map key v)
index 3ec214a2af04bb926def0f4fe7bdd8f90d26b02c..d3120ac1460a2a18039538e1611d3a6e4bf2e26f 100644 (file)
@@ -202,8 +202,8 @@ if it exists."
               (split-version (package-desc-version pkg-desc))
               (commentary
                 (pcase file-type
-                  (`single (lm-commentary))
-                  (`tar nil))) ;; FIXME: Get it from the README file.
+                  ('single (lm-commentary))
+                  ('tar nil))) ;; FIXME: Get it from the README file.
                (extras (package-desc-extras pkg-desc))
               (pkg-version (package-version-join split-version))
               (pkg-buffer (current-buffer)))
index f2ffef8da7a4baf485e828ee52115205a291febf..dcede1a5b274ad8a53fd7b2f343b8b257738ee6c 100644 (file)
@@ -496,9 +496,9 @@ This is, approximately, the inverse of `version-to-list'.
 
 (defun package-desc-suffix (pkg-desc)
   (pcase (package-desc-kind pkg-desc)
-    (`single ".el")
-    (`tar ".tar")
-    (`dir "")
+    ('single ".el")
+    ('tar ".tar")
+    ('dir "")
     (kind (error "Unknown package kind: %s" kind))))
 
 (defun package-desc--keywords (pkg-desc)
@@ -846,7 +846,7 @@ untar into a directory named DIR; otherwise, signal an error."
          (dirname (package-desc-full-name pkg-desc))
          (pkg-dir (expand-file-name dirname package-user-dir)))
     (pcase (package-desc-kind pkg-desc)
-      (`dir
+      ('dir
        (make-directory pkg-dir t)
        (let ((file-list
               (directory-files
@@ -860,12 +860,12 @@ untar into a directory named DIR; otherwise, signal an error."
          ;; things simple by ensuring we're one of them.
          (setf (package-desc-kind pkg-desc)
                (if (> (length file-list) 1) 'tar 'single))))
-      (`tar
+      ('tar
        (make-directory package-user-dir t)
        ;; FIXME: should we delete PKG-DIR if it exists?
        (let* ((default-directory (file-name-as-directory package-user-dir)))
          (package-untar-buffer dirname)))
-      (`single
+      ('single
        (let ((el-file (expand-file-name (format "%s.el" name) pkg-dir)))
          (make-directory pkg-dir t)
          (package--write-file-no-coding el-file)))
@@ -2494,7 +2494,7 @@ Otherwise no newline is inserted."
 
 (easy-menu-define package-menu-mode-menu package-menu-mode-map
   "Menu for `package-menu-mode'."
-  `("Package"
+  '("Package"
     ["Describe Package" package-menu-describe-package :help "Display information about this package"]
     ["Help" package-menu-quick-help :help "Show short key binding help for package-menu-mode"]
     "--"
index 2491ccea95be779e5ad83a50ccd3d08915bab0c3..f4184e8700d84dde0a825818d6062fc912f8166d 100644 (file)
@@ -74,7 +74,7 @@
             (cmp (compare-strings prefix nil nil key i ni)))
        (if (eq t cmp)
            (pcase (radix-tree--remove ptree key ni)
-             (`nil rtree)
+             ('nil rtree)
              (`((,pprefix . ,pptree))
               `((,(concat prefix pprefix) . ,pptree) . ,rtree))
              (nptree `((,prefix . ,nptree) . ,rtree)))
index 4b8217298404931f9cbefe1964693006bf57f699..be4031946e2c9b79ec943e1cac003d6393d58ef8 100644 (file)
@@ -533,9 +533,9 @@ PREC2 is a table as returned by `smie-precs->prec2' or
                      (setq y (cons nil (cons nil nil)))
                      (push (cons (cdr k) y) table))
                    (pcase v
-                     (`= (push (cons x y) eqs))
-                     (`< (push (cons x y) csts))
-                     (`> (push (cons y x) csts))
+                     ('= (push (cons x y) eqs))
+                     ('< (push (cons x y) csts))
+                     ('> (push (cons y x) csts))
                      (_ (error "SMIE error: prec2 has %S↦%S which âˆ‰ {<,+,>}"
                                k v))))))
              prec2)
@@ -612,8 +612,8 @@ PREC2 is a table as returned by `smie-precs->prec2' or
     (dolist (x (gethash :smie-open/close-alist prec2))
       (let* ((token (car x))
              (cons (pcase (cdr x)
-                     (`closer (cddr (assoc token table)))
-                     (`opener (cdr (assoc token table))))))
+                     ('closer (cddr (assoc token table)))
+                     ('opener (cdr (assoc token table))))))
         ;; `cons' can be nil for openers/closers which only contain
         ;; "atomic" elements.
         (when cons
index c3938e90a717f745709fde448ce71a4f1f62233e..9f091288881a81a6ba20afedf293d941fb3eb4e8 100644 (file)
@@ -597,12 +597,12 @@ If SECRET is non-nil, list secret keys instead of public keys."
            (erase-buffer)
            (insert (format
                     (pcase (epg-context-operation context)
-                      (`decrypt "Error while decrypting with \"%s\":")
-                      (`verify "Error while verifying with \"%s\":")
-                      (`sign "Error while signing with \"%s\":")
-                      (`encrypt "Error while encrypting with \"%s\":")
-                      (`import-keys "Error while importing keys with \"%s\":")
-                      (`export-keys "Error while exporting keys with \"%s\":")
+                      ('decrypt "Error while decrypting with \"%s\":")
+                      ('verify "Error while verifying with \"%s\":")
+                      ('sign "Error while signing with \"%s\":")
+                      ('encrypt "Error while encrypting with \"%s\":")
+                      ('import-keys "Error while importing keys with \"%s\":")
+                      ('export-keys "Error while exporting keys with \"%s\":")
                       (_ "Error while executing \"%s\":\n\n"))
                     (epg-context-program context))
                    "\n\n"
index 8de00070583cff44fc613fcff0bef99e318cb290..0ad73785a8aa3c05dab0cc9258e98d65110cb778 100644 (file)
@@ -422,23 +422,23 @@ where FOO is one of CLOSE, GET, SEND, LIST, CHAT, etc."
                           (when (fboundp 'make-network-process) '("send"))))
   (pcomplete-here
    (pcase (intern (downcase (pcomplete-arg 1)))
-     (`chat (mapcar (lambda (elt) (plist-get elt :nick))
+     ('chat (mapcar (lambda (elt) (plist-get elt :nick))
                     (erc-remove-if-not
                      #'(lambda (elt)
                          (eq (plist-get elt :type) 'CHAT))
                      erc-dcc-list)))
-     (`close (erc-delete-dups
+     ('close (erc-delete-dups
               (mapcar (lambda (elt) (symbol-name (plist-get elt :type)))
                       erc-dcc-list)))
-     (`get (mapcar #'erc-dcc-nick
+     ('get (mapcar #'erc-dcc-nick
                    (erc-remove-if-not
                     #'(lambda (elt)
                         (eq (plist-get elt :type) 'GET))
                     erc-dcc-list)))
-     (`send (pcomplete-erc-all-nicks))))
+     ('send (pcomplete-erc-all-nicks))))
   (pcomplete-here
    (pcase (intern (downcase (pcomplete-arg 2)))
-     (`get (mapcar (lambda (elt) (plist-get elt :file))
+     ('get (mapcar (lambda (elt) (plist-get elt :file))
                    (erc-remove-if-not
                     #'(lambda (elt)
                         (and (eq (plist-get elt :type) 'GET)
@@ -446,13 +446,13 @@ where FOO is one of CLOSE, GET, SEND, LIST, CHAT, etc."
                                                 (plist-get elt :nick))
                                                (pcomplete-arg 1))))
                     erc-dcc-list)))
-     (`close (mapcar #'erc-dcc-nick
+     ('close (mapcar #'erc-dcc-nick
                      (erc-remove-if-not
                       #'(lambda (elt)
                           (eq (plist-get elt :type)
                               (intern (upcase (pcomplete-arg 1)))))
                       erc-dcc-list)))
-     (`send (pcomplete-entries)))))
+     ('send (pcomplete-entries)))))
 
 (defun erc-dcc-do-CHAT-command (proc &optional nick)
   (when nick
index cae18f60937c80078c5b2831a8a55a5fd07fb39e..d1f4d4acaee1fc42ccb699ccd36214a78b8b3531 100644 (file)
@@ -929,14 +929,14 @@ relative to `erc-track-switch-direction'"
        offset)
     (when (< arg 0)
       (setq dir (pcase dir
-                 (`oldest      'newest)
-                 (`newest      'oldest)
-                 (`mostactive  'leastactive)
-                 (`leastactive 'mostactive)
-                 (`importance  'oldest)))
+                 ('oldest      'newest)
+                 ('newest      'oldest)
+                 ('mostactive  'leastactive)
+                 ('leastactive 'mostactive)
+                 ('importance  'oldest)))
       (setq arg (- arg)))
     (setq offset (pcase dir
-                  ((or `oldest `leastactive)
+                  ((or 'oldest 'leastactive)
                    (- (length erc-modified-channels-alist) arg))
                   (_ (1- arg))))
     ;; normalize out of range user input
index a7e27424f299595f652cf9fd869eea34b008c8df..60f877fe37ed9c8a13a1098451ed6955e8855e10 100644 (file)
@@ -1943,15 +1943,15 @@ removed from the list will be disabled."
 (defun erc-setup-buffer (buffer)
   "Consults `erc-join-buffer' to find out how to display `BUFFER'."
   (pcase erc-join-buffer
-    (`window
+    ('window
      (if (active-minibuffer-window)
          (display-buffer buffer)
        (switch-to-buffer-other-window buffer)))
-    (`window-noselect
+    ('window-noselect
      (display-buffer buffer))
-    (`bury
+    ('bury
      nil)
-    (`frame
+    ('frame
      (when (or (not erc-reuse-frames)
                (not (get-buffer-window buffer t)))
        (let ((frame (make-frame (or erc-frame-alist
index 53de7f7ec635659b94300abf54693f02b31c6c0f..1e09ed61781f556f18a5eba40ad84e60844cfe93 100644 (file)
@@ -346,7 +346,7 @@ instead."
    "ls" (if eshell-ls-initial-args
            (list eshell-ls-initial-args args)
          args)
-   `((?a "all" nil show-all
+   '((?a "all" nil show-all
         "do not ignore entries starting with .")
      (?A "almost-all" nil show-almost-all
         "do not list implied . and ..")
index 92cac612d4ccf90a88ca303cf993c67cc734e445..8daaa0e0d39852840b55e60a1b862f9433b4208e 100644 (file)
@@ -816,7 +816,7 @@ This is used on systems where async subprocesses are not supported."
        ;; The last process in the pipe should get its handles
        ;; redirected as we found them before running the pipe.
        ,(if (null (cdr pipeline))
-            `(progn
+            '(progn
                (setq eshell-current-handles tail-handles)
                (setq eshell-in-pipeline-p nil)))
        (let ((result ,(car pipeline)))
index dbac6f614fcf97d56c7c515d8aee17e6caa7e71d..fb6cf0193a92531bf644f10ec430e9c98ed83692 100644 (file)
@@ -1158,7 +1158,7 @@ consecutive checks.  For example:
                  (file-attributes (file-chase-links file)))))))"
   :group 'files
   :version "24.1"
-  :type `(choice
+  :type '(choice
          (const   :tag "Do not inhibit file name cache" nil)
          (const   :tag "Do not use file name cache" t)
          (integer :tag "Do not use file name cache"
@@ -3837,13 +3837,13 @@ It is dangerous if either of these conditions are met:
 If VAR is `mode', call `VAL-mode' as a function unless it's
 already the major mode."
   (pcase var
-    (`mode
+    ('mode
      (let ((mode (intern (concat (downcase (symbol-name val))
                                  "-mode"))))
        (unless (eq (indirect-function mode)
                    (indirect-function major-mode))
          (funcall mode))))
-    (`eval
+    ('eval
      (pcase val
        (`(add-hook ',hook . ,_) (hack-one-local-variable--obsolete hook)))
      (save-excursion (eval val)))
@@ -7168,18 +7168,18 @@ only these files will be asked to be saved."
            (setcar pair (file-name-unquote (car pair) t))))
        (setq file-arg-indices (cdr file-arg-indices))))
     (pcase method
-      (`identity (car arguments))
-      (`add (file-name-quote (apply operation arguments) t))
-      (`buffer-file-name
+      ('identity (car arguments))
+      ('add (file-name-quote (apply operation arguments) t))
+      ('buffer-file-name
        (let ((buffer-file-name (file-name-unquote buffer-file-name t)))
          (apply operation arguments)))
-      (`insert-file-contents
+      ('insert-file-contents
        (let ((visit (nth 1 arguments)))
          (unwind-protect
              (apply operation arguments)
            (when (and visit buffer-file-name)
              (setq buffer-file-name (file-name-quote buffer-file-name t))))))
-      (`unquote-then-quote
+      ('unquote-then-quote
        ;; We can't use `cl-letf' with `(buffer-local-value)' here
        ;; because it wouldn't work during bootstrapping.
        (let ((buffer (current-buffer)))
@@ -7192,7 +7192,7 @@ only these files will be asked to be saved."
              ;; underlying operation.
              (with-current-buffer buffer
                (apply operation arguments))))))
-      (`local-copy
+      ('local-copy
        (let* ((file-name-handler-alist saved-file-name-handler-alist)
               (source (car arguments))
               (target (car (cdr arguments)))
index 8ccfa570e3a34f16af042f65131f98bd330c0dc1..8243b4045c34cf9e88419f0881aebd142413733b 100644 (file)
@@ -565,7 +565,7 @@ including directory trees to the menu can take a lot of memory."
   :group 'filesets)
 
 (defcustom filesets-commands
-  `(("Isearch"
+  '(("Isearch"
      multi-isearch-files
      (filesets-cmd-isearch-getargs))
     ("Isearch (regexp)"
@@ -1286,10 +1286,10 @@ on-close-all ... Not used"
                  (filesets-get-external-viewer filename)))))
     (filesets-alist-get def
                        (pcase event
-                         (`on-open-all       ':ignore-on-open-all)
-                         (`on-grep           ':ignore-on-read-text)
-                         (`on-cmd nil)
-                         (`on-close-all nil))
+                         ('on-open-all       ':ignore-on-open-all)
+                         ('on-grep           ':ignore-on-read-text)
+                         ('on-cmd nil)
+                         ('on-close-all nil))
                        nil t)))
 
 (defun filesets-filetype-get-prop (property filename &optional entry)
index be9fb4dc93f152fb31337c44e12cb8bef20ab12c..b4cf5b0387ddc6b6dc459065e517330484315e67 100644 (file)
@@ -926,9 +926,9 @@ The value of this variable is used when Font Lock mode is turned on."
 
 (defun font-lock-turn-on-thing-lock ()
   (pcase (font-lock-value-in-major-mode font-lock-support-mode)
-    (`fast-lock-mode (fast-lock-mode t))
-    (`lazy-lock-mode (lazy-lock-mode t))
-    (`jit-lock-mode
+    ('fast-lock-mode (fast-lock-mode t))
+    ('lazy-lock-mode (lazy-lock-mode t))
+    ('jit-lock-mode
      ;; Prepare for jit-lock
      (remove-hook 'after-change-functions
                   #'font-lock-after-change-function t)
index 0d7e8025abd244d601c553c8d4b270bae338c829..aa392be28029acf2ba904867cdabb3e81c9fb685 100644 (file)
@@ -675,7 +675,7 @@ nil while the filtering is done to restore it."
       ;; of a frameset, so we must copy parameters to avoid inadvertent
       ;; modifications.
       (pcase (cdr (assq (car current) filter-alist))
-       (`nil
+       ('nil
         (push (if saving current (copy-tree current)) filtered))
        (:never
         nil)
@@ -903,7 +903,7 @@ NOTE: This only works for non-iconified frames."
                      (< fr-right  left) (> fr-right  right)
                      (< fr-top    top)  (> fr-top    bottom)))
            ;; Displaced to the left, right, above or below the screen.
-           (`t   (or (> fr-left   right)
+           ('t   (or (> fr-left   right)
                      (< fr-right  left)
                      (> fr-top    bottom)
                      (< fr-bottom top)))
@@ -1195,11 +1195,11 @@ All keyword parameters default to nil."
         ;; will decide which ones can be reused, and how to deal with any leftover.
         (frameset--reuse-list
          (pcase reuse-frames
-           (`t
+           ('t
             frames)
-           (`nil
+           ('nil
             nil)
-           (`match
+           ('match
             (cl-loop for (state) in (frameset-states frameset)
                      when (frameset-frame-with-id (frameset-cfg-id state) frames)
                      collect it))
@@ -1364,11 +1364,11 @@ Called from `jump-to-register'.  Internal use only."
                     ;; iconify frames
                     (lambda (frame action)
                       (pcase action
-                        (`rejected (iconify-frame frame))
+                        ('rejected (iconify-frame frame))
                         ;; In the unexpected case that a frame was a candidate
                         ;; (matching frame id) and yet not restored, remove it
                         ;; because it is in fact a duplicate.
-                        (`ignored (delete-frame frame))))))
+                        ('ignored (delete-frame frame))))))
 
   ;; Restore selected frame, buffer and point.
   (let ((frame (frameset-frame-with-id (aref data 1)))
index 93a675584f50ce23c12ed61c059adcf16c4ef7d4..28d8ac6d9750f546da29f94d7eaee7e5f81ecfcf 100644 (file)
@@ -2600,11 +2600,11 @@ General format specifiers can also be used.  See Info node
 (defvar gnus-tmp-groups)
 
 (defvar gnus-category-line-format-alist
-  `((?c gnus-tmp-name ?s)
+  '((?c gnus-tmp-name ?s)
     (?g gnus-tmp-groups ?d)))
 
 (defvar gnus-category-mode-line-format-alist
-  `((?u user-defined ?s)))
+  '((?u user-defined ?s)))
 
 (defvar gnus-category-line-format-spec nil)
 (defvar gnus-category-mode-line-format-spec nil)
index c78bb3325f0440d8aab57af3126a58061867e9cb..28ee174597bf96667b5d91ab7551688217abee0a 100644 (file)
@@ -278,7 +278,7 @@ This can also be a list of the above values."
   "String or function to be executed to display an X-Face header.
 If it is a string, the command will be executed in a sub-shell
 asynchronously.  The compressed face will be piped to this command."
-  :type `(choice string
+  :type '(choice string
                 (function-item gnus-display-x-face-in-from)
                 function)
   :version "21.1"
@@ -5155,7 +5155,7 @@ Deleting parts may malfunction or destroy the article; continue? "))
            "`----\n"))
          (setcdr data
                  (cdr (mm-make-handle
-                       nil `("text/plain" (charset . gnus-decoded)) nil nil
+                       nil '("text/plain" (charset . gnus-decoded)) nil nil
                        (list "attachment")
                        (format "Deleted attachment (%s bytes)" bsize))))))
       ;; (set-buffer gnus-summary-buffer)
index bbf9e527db717c1b86b28a07a4df534f611f60ee..b48815bc0a7a55fdd849fb086e789ddbe6c54fb1 100644 (file)
@@ -340,7 +340,7 @@ in a boring face, then the pages will be skipped."
 ;; TAG: Is a Supercite tag, if any.
 
 (defvar gnus-cited-opened-text-button-line-format-alist
-  `((?b (marker-position beg) ?d)
+  '((?b (marker-position beg) ?d)
     (?e (marker-position end) ?d)
     (?n (count-lines beg end) ?d)
     (?l (- end beg) ?d)))
@@ -625,7 +625,7 @@ always hide."
                (point)
                (progn (eval gnus-cited-closed-text-button-line-format-spec)
                       (point))
-               `gnus-article-toggle-cited-text
+               'gnus-article-toggle-cited-text
                (list (cons beg end) start))
               (point))
              'article-type 'annotation)
@@ -675,7 +675,7 @@ means show, nil means toggle."
                        gnus-cited-opened-text-button-line-format-spec
                      gnus-cited-closed-text-button-line-format-spec))
                   (point))
-           `gnus-article-toggle-cited-text
+           'gnus-article-toggle-cited-text
            args)
           (point))
         'article-type 'annotation)))))
index d526894b3ac5c1b6e9b324f079f8e29f816fe59c..c4ec9c1d327a04cd53ce59959021e5f8c5cb08fa 100644 (file)
@@ -496,7 +496,7 @@ simple manner."
 (defvar gnus-tmp-number-of-unread)
 
 (defvar gnus-group-line-format-alist
-  `((?M gnus-tmp-marked-mark ?c)
+  '((?M gnus-tmp-marked-mark ?c)
     (?S gnus-tmp-subscribed ?c)
     (?L gnus-tmp-level ?d)
     (?N (cond ((eq number t) "*" )
@@ -544,7 +544,7 @@ simple manner."
     ))
 
 (defvar gnus-group-mode-line-format-alist
-  `((?S gnus-tmp-news-server ?s)
+  '((?S gnus-tmp-news-server ?s)
     (?M gnus-tmp-news-method ?s)
     (?u gnus-tmp-user-defined ?s)
     (?: gnus-tmp-colon ?s)))
@@ -780,7 +780,7 @@ simple manner."
 
     (easy-menu-define
      gnus-group-reading-menu gnus-group-mode-map ""
-     `("Group"
+     '("Group"
        ["Read" gnus-group-read-group
        :included (not (gnus-topic-mode-p))
        :active (gnus-group-group-name)]
@@ -947,7 +947,7 @@ simple manner."
 
     (easy-menu-define
      gnus-group-misc-menu gnus-group-mode-map ""
-     `("Gnus"
+     '("Gnus"
        ["Send a mail" gnus-group-mail t]
        ["Send a message (mail or news)" gnus-group-post-news t]
        ["Create a local message" gnus-group-news t]
index 660bdf73cdf7531c9ed3ceb8c63e5b06577ea3aa..f469afd41b133e9ecb66e0aa78126834913b1919 100644 (file)
@@ -1542,7 +1542,7 @@ If YANK is non-nil, include the original article."
                        (X-Debbugs-Version
                         . ,(format "%s" (gnus-continuum-version))))))
     (when gnus-bug-create-help-buffer
-      (push `(gnus-bug-kill-buffer) message-send-actions))
+      (push '(gnus-bug-kill-buffer) message-send-actions))
     (goto-char (point-min))
     (message-goto-body)
     (insert "\n\n\n\n\n")
index 0504465de3e1d561c7b5f0e2350ee1b21ee6f7d9..5690c679061d6d8bee7e46773ed4a5b9118ec4db 100644 (file)
@@ -406,7 +406,7 @@ Two predefined functions are available:
 (defvar gnus-tmp-subject)
 
 (defvar gnus-tree-line-format-alist
-  `((?n gnus-tmp-name ?s)
+  '((?n gnus-tmp-name ?s)
     (?f gnus-tmp-from ?s)
     (?N gnus-tmp-number ?d)
     (?\[ gnus-tmp-open-bracket ?c)
index 4d15f36ffc47887ce18aea4aec11e5f9ff286361..5bdf358dad3959b14e20681e0fc4f3cc6efe1d76 100644 (file)
@@ -87,7 +87,7 @@ If nil, a faster, but more primitive, buffer is used instead."
 (defvar gnus-inserted-opened-servers nil)
 
 (defvar gnus-server-line-format-alist
-  `((?h gnus-tmp-how ?s)
+  '((?h gnus-tmp-how ?s)
     (?n gnus-tmp-name ?s)
     (?w gnus-tmp-where ?s)
     (?s gnus-tmp-status ?s)
@@ -95,7 +95,7 @@ If nil, a faster, but more primitive, buffer is used instead."
     (?c gnus-tmp-cloud ?s)))
 
 (defvar gnus-server-mode-line-format-alist
-  `((?S gnus-tmp-news-server ?s)
+  '((?S gnus-tmp-news-server ?s)
     (?M gnus-tmp-news-method ?s)
     (?u gnus-tmp-user-defined ?s)))
 
@@ -626,8 +626,8 @@ The following commands are available:
   (let ((info (gnus-server-to-method server)))
     (gnus-edit-form
      info "Showing the server."
-     `(lambda (form)
-       (gnus-server-position-point))
+     (lambda (form)
+       (gnus-server-position-point))
      'edit-server)))
 
 (defun gnus-server-scan-server (server)
index 1c4be09e2e9150d32e2a46b5cca817a46711eb48..7be52717de938d31ed3f402680d6ee8ec555ea95 100644 (file)
@@ -1430,12 +1430,12 @@ These are paired with what variables they correspond with, along with
 the type of the variable (string, integer, character, etc).")
 
 (defvar gnus-summary-dummy-line-format-alist
-  `((?S gnus-tmp-subject ?s)
+  '((?S gnus-tmp-subject ?s)
     (?N gnus-tmp-number ?d)
     (?u gnus-tmp-user-defined ?s)))
 
 (defvar gnus-summary-mode-line-format-alist
-  `((?G gnus-tmp-group-name ?s)
+  '((?G gnus-tmp-group-name ?s)
     (?g (gnus-short-group-name gnus-tmp-group-name) ?s)
     (?p (gnus-group-real-name gnus-tmp-group-name) ?s)
     (?A gnus-tmp-article-number ?d)
@@ -2602,7 +2602,7 @@ gnus-summary-show-article-from-menu-as-charset-%s" cs))))
 
     (easy-menu-define
       gnus-summary-post-menu gnus-summary-mode-map ""
-      `("Post"
+      '("Post"
        ["Send a message (mail or news)" gnus-summary-post-news
         :help "Compose a new message (mail or news)"]
        ["Followup" gnus-summary-followup
@@ -2663,7 +2663,7 @@ gnus-summary-show-article-from-menu-as-charset-%s" cs))))
 
     (easy-menu-define
       gnus-summary-misc-menu gnus-summary-mode-map ""
-      `("Gnus"
+      '("Gnus"
        ("Mark Read"
         ["Mark as read" gnus-summary-mark-as-read-forward t]
         ["Mark same subject and select"
index 111f2ae28a41086ace82c86317df454747309615..06ffe9571f5808ec917cc4137823dbf335a65eb8 100644 (file)
@@ -85,7 +85,7 @@ See Info node `(gnus)Formatting Variables'."
 (defvar gnus-topic-inhibit-change-level nil)
 
 (defconst gnus-topic-line-format-alist
-  `((?n name ?s)
+  '((?n name ?s)
     (?v visible ?s)
     (?i indentation ?s)
     (?g number-of-groups ?d)
index 2e4b054a9f9b3c88a45d0f053bdf85389e9ac285..e69aa2cc6a8b7b9f5cf85ac26a9ce03a55202f15 100644 (file)
@@ -40,7 +40,7 @@
   "Function use to do completing read."
   :version "24.1"
   :group 'gnus-meta
-  :type `(radio (function-item
+  :type '(radio (function-item
                  :doc "Use Emacs standard `completing-read' function."
                  gnus-emacs-completing-read)
                (function-item
index 6c59b1357421f584d5647e2f5d2c1d8cc715839f..1ac02b4531c2676ead0bca79c4c07c79ec5c1b44 100644 (file)
@@ -2770,7 +2770,7 @@ See Info node `(gnus)Formatting Variables'."
 
 (defun gnus-suppress-keymap (keymap)
   (suppress-keymap keymap)
-  (let ((keys `([delete] "\177" "\M-u"))) ;[mouse-2]
+  (let ((keys '([delete] "\177" "\M-u"))) ;[mouse-2]
     (while keys
       (define-key keymap (pop keys) 'undefined))))
 
index 66356b6fda29b45d31e069a83e0db82ffd645c18..fdaa4e82727d9f53ff51cfe2d56021fc4deb6802 100644 (file)
@@ -1853,7 +1853,7 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'."
   "Alist of header names/filler functions.")
 
 (defvar message-header-format-alist
-  `((From)
+  '((From)
     (Newsgroups)
     (To)
     (Cc)
@@ -2716,7 +2716,7 @@ systematically send encrypted emails when possible."
 
 (easy-menu-define
   message-mode-menu message-mode-map "Message Menu."
-  `("Message"
+  '("Message"
     ["Yank Original" message-yank-original message-reply-buffer]
     ["Fill Yanked Message" message-fill-yanked-message t]
     ["Insert Signature" message-insert-signature t]
@@ -2750,7 +2750,7 @@ systematically send encrypted emails when possible."
 
 (easy-menu-define
   message-mode-field-menu message-mode-map ""
-  `("Field"
+  '("Field"
     ["To" message-goto-to t]
     ["From" message-goto-from t]
     ["Subject" message-goto-subject t]
@@ -7459,7 +7459,7 @@ Optional DIGEST will use digest to forward."
     ;; Consider there is no illegible text.
     (add-text-properties
      b (point)
-     `(no-illegible-text t rear-nonsticky t start-open t))))
+     '(no-illegible-text t rear-nonsticky t start-open t))))
 
 (defun message-forward-make-body-mml (forward-buffer)
   (insert "\n\n<#mml type=message/rfc822 disposition=inline>\n")
index 14a232f706a259ce6b72f2a5da31e68a8045cca8..ba54b4e707432e8b0516044aee0fb0cca5def94b 100644 (file)
@@ -241,7 +241,7 @@ superset of iso-8859-1."
        (widget-convert
         'list
         `(set :inline t :format "%v" ,@(nreverse rest))
-        `(repeat :inline t :tag "Other options"
+        '(repeat :inline t :tag "Other options"
                  (cons :format "%v"
                        (symbol :size 3 :format "(%v")
                        (symbol :size 3 :format " . %v)\n")))))))
index 9fd72a93d5b211f1942aff12349fa7724e9340f7..e232128245ac9cf2e137e190f178cf30d4a05c1f 100644 (file)
@@ -1152,7 +1152,7 @@ If HANDLES is non-nil, use it instead reparsing the buffer."
 
 (easy-menu-define
   mml-menu mml-mode-map ""
-  `("Attachments"
+  '("Attachments"
     ["Attach File..." mml-attach-file :help "Attach a file at point"]
     ["Attach Buffer..." mml-attach-buffer
      :help "Attach a buffer to the outgoing message"]
index 83a9c3f3e176f83d23cc3581dc947863ed045ab5..ca9f804036b8f55695339f46da50ed573412e14f 100644 (file)
@@ -408,7 +408,7 @@ on your system, you could say something like:
   `(let ((id (nnheader-nov-field)))
      (if (string-match "^<[^>]+>$" id)
         ,(if nnheader-uniquify-message-id
-             `(if (string-match "__[^@]+@" id)
+             '(if (string-match "__[^@]+@" id)
                   (concat (substring id 0 (match-beginning 0))
                           (substring id (1- (match-end 0))))
                 id)
index 12892c516a717c004b5f0bb43b35583b8823f1a6..1a3b05ddb37a3e0c390cb62eeaffbcc4d773d10c 100644 (file)
@@ -1203,8 +1203,8 @@ If LIMIT, first try to limit the search to the N last articles."
            ;; We don't really care about the article number, because
            ;; that's determined by the IMAP server later.  So just
            ;; return the group name.
-           `(lambda (group)
-              (list (list group)))))))
+           (lambda (group)
+              (list (list group)))))))
   (setq group (nnimap-decode-gnus-group group))
   (when (nnimap-change-group nil server)
     (nnmail-check-syntax)
index 24188f5c740a224a9b3ae190560daf0a8f1c9a22..c8cf2d64d2d3267a0c4565934d4b2d2836b78d39 100644 (file)
@@ -1774,7 +1774,7 @@ If VERSION is a string: must be contained in mairix version output."
        (setq versionstring
              (let* ((commandsplit (split-string nnmairix-mairix-command))
                     (args (append (list (car commandsplit))
-                                 `(nil t nil) (cdr commandsplit) '("-V"))))
+                                  '(nil t nil) (cdr commandsplit) '("-V"))))
              (apply 'call-process args)
              (goto-char (point-min))
              (re-search-forward "mairix.*")
index 710e0e83cf9f2434a75c6bf0211ca72605ae5684..e4731f367768e6d5e5592d82ef5ffd9a851a131e 100644 (file)
@@ -2137,7 +2137,7 @@ See `spam-ifile-database'."
           (apply 'call-process-region
                  (point-min) (point-max) spam-ifile-program
                  nil temp-buffer-name nil "-c"
-                 (if db-param `(,db-param "-q") `("-q"))))
+                 (if db-param `(,db-param "-q") '("-q"))))
         ;; check the return now (we're back in the temp buffer)
         (goto-char (point-min))
         (if (not (eobp))
@@ -2166,7 +2166,7 @@ Uses `gnus-newsgroup-name' if category is nil (for ham registration)."
              (point-min) (point-max) spam-ifile-program
              nil nil nil
              add-or-delete-option category
-             (if db `(,db "-h") `("-h"))))))
+             (if db `(,db "-h") '("-h"))))))
 
 (defun spam-ifile-register-spam-routine (articles &optional unregister)
   (spam-ifile-register-with-ifile articles spam-ifile-spam-category unregister))
@@ -2473,7 +2473,7 @@ With a non-nil REMOVE, remove the ADDRESSES."
                      (point-min) (point-max)
                      spam-bogofilter-program
                      nil temp-buffer-name nil
-                     (if db `("-d" ,db "-v") `("-v"))))
+                     (if db `("-d" ,db "-v") '("-v"))))
             (setq return (spam-check-bogofilter-headers score))))
         return)
     (gnus-error 5 "`spam.el' doesn't support obsolete bogofilter versions")))
@@ -2501,7 +2501,7 @@ With a non-nil REMOVE, remove the ADDRESSES."
                      (point-min) (point-max)
                      spam-bogofilter-program
                      nil nil nil switch
-                     (if db `("-d" ,db "-v") `("-v")))))))
+                     (if db `("-d" ,db "-v") '("-v")))))))
     (gnus-error 5 "`spam.el' doesn't support obsolete bogofilter versions")))
 
 (defun spam-bogofilter-register-spam-routine (articles &optional unregister)
index 230b64d9f239beb64acf735707fbc904f9aece58..4070da885c61f7266c894ee103a907709e96a4c0 100644 (file)
@@ -1089,7 +1089,7 @@ This function is assumed to be used as callback function for `hl-line-mode'."
 ;; startup stuff.
 
 (easy-menu-define hexl-menu hexl-mode-map "Hexl Mode menu"
-  `("Hexl"
+  '("Hexl"
     :help "Hexl-specific Features"
 
     ["Backward short" hexl-backward-short
index 08b58117dd0d60272a5794dcbf636cc74c05855b..f503c2764ba959b70f7ae142e5b274196e29e067 100644 (file)
@@ -559,7 +559,7 @@ then remove all hi-lock highlighting."
         (x-popup-menu
          t
          (cons
-          `keymap
+          'keymap
           (cons "Select Pattern to Unhighlight"
                 (mapcar (lambda (pattern)
                           (list (car pattern)
index 32ec91db970bcff1424cc62da6cbb7b9fdda8019..57ca9b04333107200d5588934eb2a0c4214708e9 100644 (file)
@@ -723,7 +723,7 @@ specification, with the same structure as an element of the list
   (not
    (not
     (pcase (car filter)
-      (`or
+      ('or
        ;;; ATTN: Short-circuiting alternative with parallel structure w/`and
        ;;(catch 'has-match
        ;;  (dolist (filter-spec (cdr filter) nil)
@@ -732,12 +732,12 @@ specification, with the same structure as an element of the list
        (memq t (mapcar #'(lambda (x)
                            (ibuffer-included-in-filter-p buf x))
                        (cdr filter))))
-      (`and
+      ('and
        (catch 'no-match
          (dolist (filter-spec (cdr filter) t)
            (unless (ibuffer-included-in-filter-p buf filter-spec)
              (throw 'no-match nil)))))
-      (`saved
+      ('saved
        (let ((data (assoc (cdr filter) ibuffer-saved-filters)))
         (unless data
           (ibuffer-filter-disable t)
@@ -1051,14 +1051,14 @@ turned into separate filters, like [name: foo] and [mode: bar-mode]."
          (tail (cdr filters))
          (value
           (pcase (caar filters)
-            ((or `or 'and) (nconc head tail))
-            (`saved
+            ((or 'or 'and) (nconc head tail))
+            ('saved
              (let ((data (assoc head ibuffer-saved-filters)))
                (unless data
                  (ibuffer-filter-disable)
                  (error "Unknown saved filter %s" head))
                (append (cdr data) tail)))
-            (`not (cons (ibuffer-unary-operand (car filters)) tail))
+            ('not (cons (ibuffer-unary-operand (car filters)) tail))
             (_
              (error "Filter type %s is not compound" (caar filters))))))
     (setq ibuffer-filtering-qualifiers value))
@@ -1197,12 +1197,12 @@ Interactively, prompt for NAME, and use the current filters."
 
 (defun ibuffer-format-qualifier-1 (qualifier)
   (pcase (car qualifier)
-    (`saved
+    ('saved
      (concat " [filter: " (cdr qualifier) "]"))
-    (`or
+    ('or
      (concat " [OR" (mapconcat #'ibuffer-format-qualifier
                                (cdr qualifier) "") "]"))
-    (`and
+    ('and
      (concat " [AND" (mapconcat #'ibuffer-format-qualifier
                                 (cdr qualifier) "") "]"))
     (_
index 78dab1c93e54320050ec3e5e542f218e14539fd3..b0c4b504aeb868ac173b013ef53e0e878eb036b7 100644 (file)
@@ -150,7 +150,7 @@ elisp byte-compiler."
   :group 'ibuffer)
 
 (defcustom ibuffer-fontification-alist
-  `((10 buffer-read-only font-lock-constant-face)
+  '((10 buffer-read-only font-lock-constant-face)
     (15 (and buffer-file-name
             (string-match ibuffer-compressed-file-name-regexp
                           buffer-file-name))
@@ -1613,8 +1613,8 @@ If point is on a group name, this function operates on that group."
     `(truncate-string-to-width ,strvar ,maxvar nil ?\s)))
 
 (defun ibuffer-compile-make-format-form (strvar widthform alignment)
-  (let* ((left `(make-string tmp2 ?\s))
-        (right `(make-string (- tmp1 tmp2) ?\s)))
+  (let* ((left '(make-string tmp2 ?\s))
+        (right '(make-string (- tmp1 tmp2) ?\s)))
     `(progn
        (setq tmp1 ,widthform
             tmp2 (/ tmp1 2))
@@ -1737,7 +1737,7 @@ If point is on a group name, this function operates on that group."
                      outforms)
                     (push `(setq str ,callform
                                   ,@(when strlen-used
-                                      `(strlen (string-width str))))
+                                      '(strlen (string-width str))))
                           outforms)
                     (setq outforms
                           (append outforms
@@ -2205,7 +2205,7 @@ the value of point at the beginning of the line for that buffer."
                     strname
                     (propertize strname 'mouse-face 'highlight 'keymap hmap)))
                  strname)))))
-        (add-text-properties opos (point) `(ibuffer-title-header t))
+        (add-text-properties opos (point) '(ibuffer-title-header t))
         (insert "\n")
         ;; Add the underlines
         (let ((str (save-excursion
@@ -2255,7 +2255,7 @@ the value of point at the beginning of the line for that buffer."
                                                align)
                       summary))))))
           (point))
-        `(ibuffer-summary t)))))
+        '(ibuffer-summary t)))))
 
 
 (defun ibuffer-redisplay (&optional silent)
index 7bf4a92b229edbc7d4ce1711e2ecd02c903e4466..69326d4fc43a0b7dddf4fc9cf206eb4530b6ba74 100644 (file)
@@ -1688,27 +1688,27 @@ is enabled then some keybindings are changed in the keymap."
     (when viper-p
       (define-key map [remap viper-intercept-ESC-key] 'ignore))
     (pcase ido-cur-item
-     ((or `file `dir)
-      (when ido-context-switch-command
-       (define-key map "\C-x\C-b" ido-context-switch-command)
-       (define-key map "\C-x\C-d" 'ignore))
-      (when viper-p
-       (define-key map [remap viper-backward-char]
-         'ido-delete-backward-updir)
-       (define-key map [remap viper-del-backward-char-in-insert]
-         'ido-delete-backward-updir)
-       (define-key map [remap viper-delete-backward-word]
-         'ido-delete-backward-word-updir))
-      (set-keymap-parent map
-                        (if (eq ido-cur-item 'file)
-                            ido-file-completion-map
-                          ido-file-dir-completion-map)))
-     (`buffer
-      (when ido-context-switch-command
-       (define-key map "\C-x\C-f" ido-context-switch-command))
-      (set-keymap-parent map ido-buffer-completion-map))
-     (_
-      (set-keymap-parent map ido-common-completion-map)))
+      ((or 'file 'dir)
+       (when ido-context-switch-command
+        (define-key map "\C-x\C-b" ido-context-switch-command)
+        (define-key map "\C-x\C-d" 'ignore))
+       (when viper-p
+        (define-key map [remap viper-backward-char]
+          'ido-delete-backward-updir)
+        (define-key map [remap viper-del-backward-char-in-insert]
+          'ido-delete-backward-updir)
+        (define-key map [remap viper-delete-backward-word]
+          'ido-delete-backward-word-updir))
+       (set-keymap-parent map
+                         (if (eq ido-cur-item 'file)
+                             ido-file-completion-map
+                           ido-file-dir-completion-map)))
+      ('buffer
+       (when ido-context-switch-command
+        (define-key map "\C-x\C-f" ido-context-switch-command))
+       (set-keymap-parent map ido-buffer-completion-map))
+      (_
+       (set-keymap-parent map ido-common-completion-map)))
     (setq ido-completion-map map)))
 
 (defun ido-final-slash (dir &optional fix-it)
index f2e29578f8905b70b8f8e5914d736f31519d506e..d2d315daa0a348a6fa0345829ae272afe4aef76a 100644 (file)
@@ -2734,7 +2734,7 @@ Because of ambiguities, this should be concatenated with something like
           (user-error "No menu in this node"))
         (cond
          ((eq (car-safe action) 'boundaries) nil)
-         ((eq action 'metadata) `(metadata (category . info-menu)))
+         ((eq action 'metadata) '(metadata (category . info-menu)))
          ((eq action 'lambda)
           (re-search-forward
            (concat "\n\\* +" (regexp-quote string) ":") nil t))
index b755ae07d380de44613c7b90afadb6455166a409..933554925f5138f8298fbbb29ae8021374cf3b00 100644 (file)
@@ -1330,7 +1330,7 @@ This is the input method activated automatically by the command
 `toggle-input-method' (\\[toggle-input-method])."
   :link  '(custom-manual "(emacs)Input Methods")
   :group 'mule
-  :type `(choice (const nil)
+  :type '(choice (const nil)
                  mule-input-method-string)
   :set-after '(current-language-environment))
 
@@ -1943,7 +1943,7 @@ See `set-language-info-alist' for use in programs."
             (set-language-info-alist (car elt) (cdr elt)))
           ;; re-set the environment in case its parameters changed
           (set-language-environment current-language-environment)))
-  :type `(alist
+  :type '(alist
          :key-type (string :tag "Language environment"
                            :completions
                             (lambda (string pred action)
index cf2b29c04c473659607d08a4d80aae88d93c783f..17bea5483bf5189d8261dabf5f16ad0478d23ffc 100644 (file)
@@ -393,17 +393,17 @@ QUALITY can be:
                                        japanese-cp932 korean-cp949)))
          (setq type 'single-byte))
     (pcase type
-      (`utf-8
+      ('utf-8
        (when (coding-system-get coding-system :bom)
          (setq byte (max 0 (- byte 3))))
        (if (= eol 1)
            (filepos-to-bufferpos--dos (+ pm byte) #'byte-to-position)
          (byte-to-position (+ pm byte))))
-      (`single-byte
+      ('single-byte
        (if (= eol 1)
            (filepos-to-bufferpos--dos (+ pm byte) #'identity)
          (+ pm byte)))
-      ((and `utf-16
+      ((and 'utf-16
             ;; FIXME: For utf-16, we could use the same approach as used for
             ;; dos EOLs (counting the number of non-BMP chars instead of the
             ;; number of lines).
@@ -419,8 +419,8 @@ QUALITY can be:
          (+ pm byte)))
       (_
        (pcase quality
-         (`approximate (byte-to-position (+ pm byte)))
-         (`exact
+         ('approximate (byte-to-position (+ pm byte)))
+         ('exact
           ;; Rather than assume that the file exists and still holds the right
           ;; data, we reconstruct it based on the buffer's content.
           (let ((buf (current-buffer)))
@@ -470,7 +470,7 @@ QUALITY can be:
                                        japanese-cp932 korean-cp949)))
          (setq type 'single-byte))
     (pcase type
-      (`utf-8
+      ('utf-8
        (setq byte (position-bytes position))
        (when (null byte)
          (if (<= position 0)
@@ -482,9 +482,9 @@ QUALITY can be:
           (if (coding-system-get coding-system :bom) 3 0)
           ;; Account for CR in CRLF pairs.
           lineno))
-      (`single-byte
+      ('single-byte
        (+ position -1 lineno))
-      ((and `utf-16
+      ((and 'utf-16
             ;; FIXME: For utf-16, we could use the same approach as used for
             ;; dos EOLs (counting the number of non-BMP chars instead of the
             ;; number of lines).
@@ -498,8 +498,8 @@ QUALITY can be:
           lineno))
       (_
        (pcase quality
-         (`approximate (+ (position-bytes position) -1 lineno))
-         (`exact
+         ('approximate (+ (position-bytes position) -1 lineno))
+         ('exact
           ;; Rather than assume that the file exists and still holds the right
           ;; data, we reconstruct its relevant portion.
           (let ((buf (current-buffer)))
index 112f26944bf1f4899ed14fe5b8eb29d2906428d2..18409723da1f192ce6030a19633c280b0e3dd4df 100644 (file)
@@ -523,8 +523,8 @@ Please see the documentation of `json-object-type' and `json-key-type'."
     ;; Skip over the "}"
     (json-advance)
     (pcase json-object-type
-      (`alist (nreverse elements))
-      (`plist (json--plist-reverse elements))
+      ('alist (nreverse elements))
+      ('plist (json--plist-reverse elements))
       (_ elements))))
 
 ;; Hash table encoding
@@ -641,8 +641,8 @@ become JSON objects."
     ;; Skip over the "]"
     (json-advance)
     (pcase json-array-type
-      (`vector (nreverse (vconcat elements)))
-      (`list (nreverse elements)))))
+      ('vector (nreverse (vconcat elements)))
+      ('list (nreverse elements)))))
 
 ;; Array encoding
 
index 14d730abb2139211b50b57031b1967457b05b24c..020d7f56cc43d104ae4e0051ac2d005eed12fa66 100644 (file)
@@ -184,7 +184,7 @@ dispatcher in CONNECTION."
                                                    (cdr oops))
                                         "Internal error")))))
                   (error
-                   `(:error (:code -32603 :message "Internal error"))))))
+                   '(:error (:code -32603 :message "Internal error"))))))
           (apply #'jsonrpc--reply connection id reply)))
        (;; A remote notification
         method
@@ -490,7 +490,7 @@ With optional CLEANUP, kill any associated buffers. "
           ;; Call all outstanding error handlers
           (maphash (lambda (_id triplet)
                      (pcase-let ((`(,_success ,error ,_timeout) triplet))
-                       (funcall error `(:code -1 :message "Server died"))))
+                       (funcall error '(:code -1 :message "Server died"))))
                    (jsonrpc--request-continuations connection))
         (jsonrpc--message "Server exited with status %s" (process-exit-status proc))
         (process-put proc 'jsonrpc-sentinel-done t)
index 0fcabef8588be70f895b2729ee28454ffe5ab18b..3d007d149485b1ae7173a8d32887f7cbe70f5f5e 100644 (file)
@@ -95,7 +95,7 @@
 (define-coding-system-alias 'cp878 'cyrillic-koi8)
 
 (set-language-info-alist
- "Cyrillic-KOI8" `((charset koi8)
+ "Cyrillic-KOI8" '((charset koi8)
                   (coding-system cyrillic-koi8)
                   (coding-priority cyrillic-koi8 cyrillic-iso-8bit)
                   (ctext-non-standard-encodings "koi8-r")
@@ -131,7 +131,7 @@ Support for Russian using koi8-r and the russian-computer input method.")
   :mime-charset 'koi8-u)
 
 (set-language-info-alist
- "Ukrainian" `((charset koi8-u)
+ "Ukrainian" '((charset koi8-u)
               (coding-system koi8-u)
               (coding-priority koi8-u)
               (nonascii-translation . koi8-u)
@@ -151,7 +151,7 @@ Support for Russian using koi8-r and the russian-computer input method.")
 (define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj)
 
 (set-language-info-alist
- "Cyrillic-ALT" `((charset alternativnyj)
+ "Cyrillic-ALT" '((charset alternativnyj)
                  (coding-system cyrillic-alternativnyj)
                  (coding-priority cyrillic-alternativnyj)
                  (nonascii-translation . alternativnyj)
@@ -229,7 +229,7 @@ Support for Russian using koi8-r and the russian-computer input method.")
 ;;  '("Cyrillic"))
 
 (set-language-info-alist
- "Tajik" `((coding-system koi8-t)
+ "Tajik" '((coding-system koi8-t)
           (coding-priority koi8-t)
           (nonascii-translation . cyrillic-koi8-t)
           (charset koi8-t)
@@ -239,7 +239,7 @@ Support for Russian using koi8-r and the russian-computer input method.")
  '("Cyrillic"))
 
 (set-language-info-alist
- "Bulgarian" `((coding-system windows-1251)
+ "Bulgarian" '((coding-system windows-1251)
               (coding-priority windows-1251)
               (nonascii-translation . windows-1251)
               (charset windows-1251)
@@ -250,7 +250,7 @@ Support for Russian using koi8-r and the russian-computer input method.")
  '("Cyrillic"))
 
 (set-language-info-alist
- "Belarusian" `((coding-system windows-1251)
+ "Belarusian" '((coding-system windows-1251)
                (coding-priority windows-1251)
                (nonascii-translation . windows-1251)
                (charset windows-1251)
@@ -262,7 +262,7 @@ Support for Russian using koi8-r and the russian-computer input method.")
  '("Cyrillic"))
 
 (set-language-info-alist
- "Ukrainian" `((coding-system koi8-u)
+ "Ukrainian" '((coding-system koi8-u)
               (coding-priority koi8-u)
               (input-method . "ukrainian-computer")
               (documentation
index 4a89770e7245f678226ad13a51b8d1014b25993b..cd98aad8ca6582b3a752a03134c16405c42968a8 100644 (file)
@@ -541,7 +541,7 @@ method and applying Turkish case rules for the characters i, I, Ä±, Ä°.")))
  '("European"))
 
 (set-language-info-alist
- "Welsh" `((coding-system utf-8 latin-8) ; the input method is Unicode-based
+ "Welsh" '((coding-system utf-8 latin-8) ; the input method is Unicode-based
           (coding-priority utf-8 latin-8)
           (nonascii-translation . iso-8859-14)
           (input-method . "welsh")
@@ -558,7 +558,7 @@ method and applying Turkish case rules for the characters i, I, Ä±, Ä°.")))
  '("European"))
 
 (set-language-info-alist
- "Latin-7" `((coding-system latin-7)
+ "Latin-7" '((coding-system latin-7)
             (coding-priority latin-7)
             (nonascii-translation . iso-8859-13)
             (input-method . "latin-prefix")
@@ -566,7 +566,7 @@ method and applying Turkish case rules for the characters i, I, Ä±, Ä°.")))
  '("European"))
 
 (set-language-info-alist
- "Lithuanian" `((coding-system latin-7 windows-1257)
+ "Lithuanian" '((coding-system latin-7 windows-1257)
                (coding-priority latin-7)
                (nonascii-translation . iso-8859-13)
                (input-method . "lithuanian-keyboard")
@@ -574,7 +574,7 @@ method and applying Turkish case rules for the characters i, I, Ä±, Ä°.")))
  '("European"))
 
 (set-language-info-alist
- "Latvian" `((coding-system latin-7 windows-1257)
+ "Latvian" '((coding-system latin-7 windows-1257)
             (coding-priority latin-7)
             (nonascii-translation . iso-8859-13)
             (input-method . "latvian-keyboard")
index e50ebce98d8cf5c684e1f0bb8a0d2f8545ced65d..34304e75856cd38b0a18e114d9f35336f5b2512f 100644 (file)
@@ -37,7 +37,7 @@
   :charset-list '(georgian-academy))
 
 (set-language-info-alist
- "Georgian" `((coding-system georgian-ps)
+ "Georgian" '((coding-system georgian-ps)
              (coding-priority georgian-ps)
              (input-method . "georgian")
              (nonascii-translation . georgian-ps)
index cf14d644e239f6e3280e2b1144caf7a80f1d8cf7..3d1df3d87f4e4737d4814779cad08299caadaf12 100644 (file)
 ;;; (includes some punctuation conversion rules)
 ;;;
 (defconst tibetan-precomposition-rule-alist
-  `(("ཕྱྭ" . "ö…€")
+  '(("ཕྱྭ" . "ö…€")
     ("གྲྭ" . "ö…˜")
     ("ཚྭ" . "ö„¢")
     ("རྩྭ" . "ö†…")
index 4b8718f9b8c7b8e87cb8a7d3676f9fe58756b855..5d8a044e39c3b7dbc3ef21b98c51a49fbdc3beae 100644 (file)
 ;;; Code:
 
 (set-language-info-alist
- "UTF-8" `((coding-system utf-8)
+ "UTF-8" '((coding-system utf-8)
           (coding-priority utf-8)
           (charset unicode-bmp unicode)
-;; Presumably not relevant now.
-;;        (setup-function
-;;         . (lambda ()
-;;             ;; Use Unicode font under Windows.  Jason Rumney fecit.
-;;             (if (and (fboundp 'w32-add-charset-info)
-;;                      (not (boundp 'w32-unicode-charset-defined)))
-;;                 (w32-add-charset-info "iso10646-1" 'w32-charset-ansi t))))
-;; Is this appropriate?
-;;        (exit-function
-;;         . (lambda ()
-;;             (if (and (fboundp 'w32-add-charset-info)
-;;                      (not (boundp 'w32-unicode-charset-defined)))
-;;                 (setq w32-charset-info-alist
-;;                       (delete (assoc "iso10646-1")
-;;                               w32-charset-info-alist)))))
+           ;; Presumably not relevant now.
+           ;;     (setup-function
+           ;;      . (lambda ()
+           ;;          ;; Use Unicode font under Windows.  Jason Rumney fecit.
+           ;;          (if (and (fboundp 'w32-add-charset-info)
+           ;;                   (not (boundp 'w32-unicode-charset-defined)))
+           ;;              (w32-add-charset-info "iso10646-1" 'w32-charset-ansi t))))
+           ;; Is this appropriate?
+           ;;     (exit-function
+           ;;      . (lambda ()
+           ;;          (if (and (fboundp 'w32-add-charset-info)
+           ;;                   (not (boundp 'w32-unicode-charset-defined)))
+           ;;              (setq w32-charset-info-alist
+           ;;                    (delete (assoc "iso10646-1")
+           ;;                            w32-charset-info-alist)))))
           (input-method . "rfc1345")   ; maybe not the best choice
           (documentation . "\
 This language environment is a generic one for the Unicode character set
index 31c375589aa635286945928f043042b61cd552a5..9524349ec7759cbd591cab88c948538b165260af 100644 (file)
@@ -72,9 +72,9 @@
 (define-coding-system-alias 'viqr 'vietnamese-viqr)
 
 (set-language-info-alist
- "Vietnamese" `((charset viscii)
+ "Vietnamese" '((charset viscii)
                (coding-system vietnamese-viscii vietnamese-vscii
-                               vietnamese-tcvn vietnamese-viqr windows-1258)
+                              vietnamese-tcvn vietnamese-viqr windows-1258)
                (nonascii-translation . viscii)
                (coding-priority vietnamese-viscii)
                (input-method . "vietnamese-viqr")
index eda67cdac830735489c705040d4277f5e10e3f3e..a8b206fe3a55c542828610f2952d913671b58db9 100644 (file)
@@ -34793,7 +34793,7 @@ List of suffixes which indicate a compressed file.
 It must be supported by libarchive(3).")
 
 (defmacro tramp-archive-autoload-file-name-regexp nil "\
-Regular expression matching archive file names." `(concat "\\`" "\\(" ".+" "\\." (regexp-opt tramp-archive-suffixes) "\\(?:" "\\." (regexp-opt tramp-archive-compression-suffixes) "\\)*" "\\)" "\\(" "/" ".*" "\\)" "\\'"))
+Regular expression matching archive file names." '(concat "\\`" "\\(" ".+" "\\." (regexp-opt tramp-archive-suffixes) "\\(?:" "\\." (regexp-opt tramp-archive-compression-suffixes) "\\)*" "\\)" "\\(" "/" ".*" "\\)" "\\'"))
 
 (defalias 'tramp-archive-autoload-file-name-handler 'tramp-autoload-file-name-handler)
 
index 0175c687b263c8404ef541014c69c2d9f736c997..72194648f4952837927ac53c4857e85c779b4a00 100644 (file)
@@ -652,7 +652,7 @@ Unless NO-REPLACE is true, at each of the positions in LIST-SYMBOL
                   (< ch ,beg-symbol))
           ,@(if no-replace
                   nil
-                `((mail-extr-nuke-char-at ch)))
+              '((mail-extr-nuke-char-at ch)))
           (setcar temp nil))
         (setq temp (cdr temp)))
        (setq ,list-symbol (delq nil ,list-symbol))))
index 1a6eda13b7fcd26b10d25f53ca90fcf36e35a0a2..abba4879dbdfd45b1fe77ec6aca3aaf67de6f442 100644 (file)
@@ -1146,7 +1146,7 @@ See the variable `Man-notify-method' for the different notification behaviors."
   (let ((saved-frame (with-current-buffer man-buffer
                       Man-original-frame)))
     (pcase Man-notify-method
-      (`newframe
+      ('newframe
        ;; Since we run asynchronously, perhaps while Emacs is waiting
        ;; for input, we must not leave a different buffer current.  We
        ;; can't rely on the editor command loop to reselect the
@@ -1157,25 +1157,25 @@ See the variable `Man-notify-method' for the different notification behaviors."
            (set-window-dedicated-p (frame-selected-window frame) t)
            (or (display-multi-frame-p frame)
                (select-frame frame)))))
-      (`pushy
+      ('pushy
        (switch-to-buffer man-buffer))
-      (`bully
+      ('bully
        (and (frame-live-p saved-frame)
             (select-frame saved-frame))
        (pop-to-buffer man-buffer)
        (delete-other-windows))
-      (`aggressive
+      ('aggressive
        (and (frame-live-p saved-frame)
             (select-frame saved-frame))
        (pop-to-buffer man-buffer))
-      (`friendly
+      ('friendly
        (and (frame-live-p saved-frame)
             (select-frame saved-frame))
        (display-buffer man-buffer 'not-this-window))
-      (`polite
+      ('polite
        (beep)
        (message "Manual buffer %s is ready" (buffer-name man-buffer)))
-      (`quiet
+      ('quiet
        (message "Manual buffer %s is ready" (buffer-name man-buffer)))
       (_ ;; meek
        (message ""))
index 7f3698850d021939c38f5b6a7b3a4eaa54cf71d7..6de0a62bc2d10c1bc46091470e093789a56dc2b0 100644 (file)
   (let ((menu (make-sparse-keymap "Edit")))
 
     (bindings--define-key menu [props]
-      `(menu-item "Text Properties" facemenu-menu))
+      '(menu-item "Text Properties" facemenu-menu))
 
     ;; ns-win.el said: Add spell for platform consistency.
     (if (featurep 'ns)
         (bindings--define-key menu [spell]
-          `(menu-item "Spell" ispell-menu-map)))
+          '(menu-item "Spell" ispell-menu-map)))
 
     (bindings--define-key menu [fill]
-      `(menu-item "Fill" fill-region
+      '(menu-item "Fill" fill-region
                   :enable (and mark-active (not buffer-read-only))
                   :help
                   "Fill text in region to fit between left and right margin"))
       menu-bar-separator)
 
     (bindings--define-key menu [bookmark]
-      `(menu-item "Bookmarks" menu-bar-bookmark-map))
+      '(menu-item "Bookmarks" menu-bar-bookmark-map))
 
     (bindings--define-key menu [goto]
       `(menu-item "Go To" ,menu-bar-goto-menu))
@@ -2421,7 +2421,7 @@ form ((XOFFSET YOFFSET) WINDOW), or nil.
 If nil, the current mouse position is used, or nil if there is no mouse."
   (pcase position
     ;; nil -> mouse cursor position
-    (`nil
+    ('nil
      (let ((mp (mouse-pixel-position)))
        (list (list (cadr mp) (cddr mp)) (car mp))))
     ;; Value returned from `event-end' or `posn-at-point'.
index fb8a16bd81d787b4205b9c905155908d80510d54..76e4ef711adb5d54ecc927de8ff632813eed70a2 100644 (file)
@@ -61,8 +61,8 @@ particular, the expansion of (setf (gethash ...) ...) used
 functions in \"cl\" at run time. This macro recognizes that and
 loads \"cl\" appropriately."
   (if (eq (car (macroexpand '(setf (gethash foo bar) baz))) 'cl-puthash)
-      `(require 'cl)
-    `(eval-when-compile (require 'cl))))
+      '(require 'cl)
+    '(eval-when-compile (require 'cl))))
 
 ;;;###mh-autoload
 (defmacro mh-do-in-gnu-emacs (&rest body)
@@ -128,11 +128,11 @@ XEmacs and versions of GNU Emacs before 21.1 require
 In GNU Emacs if CHECK-TRANSIENT-MARK-MODE-FLAG is non-nil then
 check if variable `transient-mark-mode' is active."
   (cond ((featurep 'xemacs)             ;XEmacs
-         `(and (boundp 'zmacs-regions) zmacs-regions (region-active-p)))
+         '(and (boundp 'zmacs-regions) zmacs-regions (region-active-p)))
         ((not check-transient-mark-mode-flag) ;GNU Emacs
-         `(and (boundp 'mark-active) mark-active))
+         '(and (boundp 'mark-active) mark-active))
         (t                              ;GNU Emacs
-         `(and (boundp 'transient-mark-mode) transient-mark-mode
+         '(and (boundp 'transient-mark-mode) transient-mark-mode
                (boundp 'mark-active) mark-active))))
 
 ;; Shush compiler.
index 82e28e8741de155f11164054e0cccd39e66b48b0..1d4291cef40cd28f5a6215f683318607aa8a5438 100644 (file)
@@ -519,7 +519,7 @@ font-lock is done highlighting.")
 (defmacro mh-remove-xemacs-horizontal-scrollbar ()
   "Get rid of the horizontal scrollbar that XEmacs insists on putting in."
   (when (featurep 'xemacs)
-    `(if (and (featurep 'scrollbar)
+    '(if (and (featurep 'scrollbar)
               (fboundp 'set-specifier))
          (set-specifier horizontal-scrollbar-visible-p nil
                         (cons (current-buffer) nil)))))
index e2c682a3996ac6dcef82c347d0980174fcae3f42..0385e5f5f7ac29f537894d3603890cf4f6ab2592 100644 (file)
@@ -75,7 +75,7 @@
 ;;;###mh-autoload
 (defmacro mh-buffer-data ()
   "Convenience macro to get the MIME data structures of the current buffer."
-  `(gethash (current-buffer) mh-globals-hash))
+  '(gethash (current-buffer) mh-globals-hash))
 
 ;; Structure to keep track of MIME handles on a per buffer basis.
 (mh-defstruct (mh-buffer-data (:conc-name mh-mime-)
index dae8de00bb8712cb6673b43adb457962d43588fb..4eebd0677d6e95741dedb48f42d1391aefaa97ba 100644 (file)
@@ -375,8 +375,8 @@ still visible.\n")
            (cond ((not normal-exit)
                   (set-window-configuration config))
                  ,(if dont-return
-                      `(t (setq mh-previous-window-config config))
-                    `((and (get-buffer cur-buffer-name)
+                      '(t (setq mh-previous-window-config config))
+                    '((and (get-buffer cur-buffer-name)
                            (window-live-p (get-buffer-window
                                            (get-buffer cur-buffer-name))))
                       (pop-to-buffer (get-buffer cur-buffer-name) nil)))))))))
index d6361180f7dff602e6cc65977381649f777c5e69..539e39af00e5b8a7b8ce28ce122ee1ebc01ee39b 100644 (file)
@@ -163,7 +163,7 @@ The optional arguments from speedbar are IGNORED."
              (speedbar-change-expand-button-char ?-)
              (add-text-properties
               (mh-line-beginning-position) (1+ (line-beginning-position))
-              `(mh-expanded t)))))))
+              '(mh-expanded t)))))))
 
 (defun mh-speed-view (&rest ignored)
   "Visits the selected folder just as if you had used \\<mh-folder-mode-map>\\[mh-visit-folder].
@@ -199,7 +199,7 @@ created."
                       (1+ (mh-line-beginning-position))))
     (add-text-properties
      (mh-line-beginning-position) (1+ (line-beginning-position))
-     `(mh-folder nil mh-expanded nil mh-children-p t mh-level 0))
+     '(mh-folder nil mh-expanded nil mh-children-p t mh-level 0))
     (mh-speed-stealth-update t)
     (when (> mh-speed-update-interval 0)
       (mh-speed-flists nil))))
@@ -568,7 +568,7 @@ The function invalidates the latest ancestor that is present."
         (mh-speedbar-change-expand-button-char ?+)
         (add-text-properties
          (mh-line-beginning-position) (1+ (mh-line-beginning-position))
-         `(mh-children-p t)))
+         '(mh-children-p t)))
       (when (get-text-property (mh-line-beginning-position) 'mh-expanded)
         (mh-speed-toggle))
       (setq mh-speed-refresh-flag t))))
index a7e6a8761ff0a7e6108ff8efd212da3ee617835c..f8e328f61528eef9c29e7f0536a2db8b994236f0 100644 (file)
@@ -1128,7 +1128,7 @@ when the buffer's text is already an exact match."
              ;; Show the completion table, if requested.
              ((not exact)
              (if (pcase completion-auto-help
-                    (`lazy (eq this-command last-command))
+                    ('lazy (eq this-command last-command))
                     (_ completion-auto-help))
                   (minibuffer-completion-help beg end)
                 (completion--message "Next char not unique")))
@@ -2095,9 +2095,9 @@ a completion function or god knows what else.")
   ;; like comint-completion-at-point or mh-letter-completion-at-point, which
   ;; could be sometimes safe and sometimes misbehaving (and sometimes neither).
   (if (pcase which
-        (`all t)
-        (`safe (member fun completion--capf-safe-funs))
-        (`optimist (not (member fun completion--capf-misbehave-funs))))
+        ('all t)
+        ('safe (member fun completion--capf-safe-funs))
+        ('optimist (not (member fun completion--capf-misbehave-funs))))
       (let ((res (funcall fun)))
         (cond
          ((and (consp res) (not (functionp res)))
@@ -2955,9 +2955,9 @@ or a symbol, see `completion-pcm--merge-completions'."
          (setq p (cdr p)))
         (`(star ,(pred symbolp) . ,rest) (setq p `(star . ,rest)))
         (`(,(pred symbolp) star . ,rest) (setq p `(star . ,rest)))
-        (`(point ,(or `any `any-delim) . ,rest) (setq p `(point . ,rest)))
-        (`(,(or `any `any-delim) point . ,rest) (setq p `(point . ,rest)))
-        (`(any ,(or `any `any-delim) . ,rest) (setq p `(any . ,rest)))
+        (`(point ,(or 'any 'any-delim) . ,rest) (setq p `(point . ,rest)))
+        (`(,(or 'any 'any-delim) point . ,rest) (setq p `(point . ,rest)))
+        (`(any ,(or 'any 'any-delim) . ,rest) (setq p `(any . ,rest)))
         (`(,(pred symbolp)) (setq p nil)) ;Implicit terminating `any'.
         (_ (push (pop p) n))))
     (nreverse n)))
index 81bb5ac35a8807dcbde939d686506c1f0f183f5e..ebd2abb37c5e6fff9743101259439b4543d0059f 100644 (file)
@@ -1017,7 +1017,7 @@ If PLAYLIST is t or nil or missing, use the main playlist."
                (text
                 (if (eq info 'self) (symbol-name tag)
                   (pcase tag
-                    ((or `Time `Duration)
+                    ((or 'Time 'Duration)
                      (let ((time (cdr (or (assq 'time info) (assq 'Time info)))))
                        (setq pred (list nil)) ;Just assume it's never eq.
                        (when time
@@ -1025,7 +1025,7 @@ If PLAYLIST is t or nil or missing, use the main playlist."
                                                     (string-match ":" time))
                                                (substring time (match-end 0))
                                              time)))))
-                    (`Cover
+                    ('Cover
                      (let ((dir (file-name-directory (cdr (assq 'file info)))))
                        ;; (debug)
                        (push `(equal ',dir (file-name-directory (cdr (assq 'file info)))) pred)
index 1aa794477a9869ddc865c0c3ab6342924125924a..37df79304695cd85b733285e7d7f48df0a0693cd 100644 (file)
@@ -2679,7 +2679,7 @@ The main reason for this alist is to deal with file versions in VMS.")
 
 (defmacro ange-ftp-parse-filename ()
   ;;Extract the filename from the current line of a dired-like listing.
-  `(save-match-data
+  '(save-match-data
      (let ((eol (progn (end-of-line) (point))))
        (beginning-of-line)
        (if (re-search-forward directory-listing-before-filename-regexp eol t)
@@ -2761,7 +2761,7 @@ match subdirectories as well.")
 (defmacro ange-ftp-dl-parser ()
   ;; Parse the current buffer, which is assumed to be a descriptive
   ;; listing, and return a hashtable.
-  `(let ((tbl (make-hash-table :test 'equal)))
+  '(let ((tbl (make-hash-table :test 'equal)))
      (while (not (eobp))
        (puthash
         (buffer-substring (point)
index f493d2d16913fa9df0ab15fb9f63b668e4cbeec9..d087d55c56f6891c8700b975261b3f4b5f01ed23 100644 (file)
@@ -73,7 +73,7 @@ If BIT is non-nil, truncate output to specified bits."
             ,(if (and bit (< (/ bit 8) L))
                  `(substring key-xor-opad 0 ,(/ bit 8))
                ;; return a copy of `key-xor-opad'.
-               `(concat key-xor-opad)))
+               '(concat key-xor-opad)))
         ;; cleanup.
         (fillarray key-xor-ipad 0)
         (fillarray key-xor-opad 0)))))
index b6fbdfb766c6b43a2a9a19768e91b8799620d4df..40096ca4c1e266ea8220a35eca51e3fdfcf875c4 100644 (file)
@@ -170,7 +170,7 @@ These were mostly extracted from the Radio Community Server at
 http://subhonker6.userland.com/rcsPublic/rssHotlist.
 
 You may add other entries in `newsticker-url-list'."
-  :type `(set ,@(mapcar `newsticker--splicer
+  :type `(set ,@(mapcar #'newsticker--splicer
                         newsticker--raw-url-list-defaults))
   :set 'newsticker--set-customvar-retrieval
   :group 'newsticker-retrieval)
index a5ba26bcdc5e5bf93da2f773dfc88d585a472cf6..ff14d20bc32a65b5f4db0d540e4510dd65e49969 100644 (file)
@@ -504,15 +504,15 @@ TYPE dictates what will be inserted, options are:
         (with-current-buffer quickurl-list-last-buffer
           (insert
            (pcase type
-             (`url         (funcall quickurl-format-function url))
-             (`naked-url   (quickurl-url-url url))
-             (`with-lookup (format "%s <URL:%s>"
+             ('url         (funcall quickurl-format-function url))
+             ('naked-url   (quickurl-url-url url))
+             ('with-lookup (format "%s <URL:%s>"
                                    (quickurl-url-keyword url)
                                    (quickurl-url-url url)))
-             (`with-desc   (format "%S <URL:%s>"
+             ('with-desc   (format "%S <URL:%s>"
                                    (quickurl-url-description url)
                                    (quickurl-url-url url)))
-             (`lookup      (quickurl-url-keyword url)))))
+             ('lookup      (quickurl-url-keyword url)))))
       (error "No URL details on that line"))
     url))
 
index 47f15cef5ff00a1c9ede9f68f44b2b725afb97cb..fd29ca8fd11b0e7416f679070f531da8c98db192 100644 (file)
@@ -174,12 +174,12 @@ It must be supported by libarchive(3).")
 ;;;###autoload
 (progn (defmacro tramp-archive-autoload-file-name-regexp ()
   "Regular expression matching archive file names."
-  `(concat
+  '(concat
     "\\`" "\\(" ".+" "\\."
-      ;; Default suffixes ...
-      (regexp-opt tramp-archive-suffixes)
-      ;; ... with compression.
-      "\\(?:" "\\." (regexp-opt tramp-archive-compression-suffixes) "\\)*"
+    ;; Default suffixes ...
+    (regexp-opt tramp-archive-suffixes)
+    ;; ... with compression.
+    "\\(?:" "\\." (regexp-opt tramp-archive-compression-suffixes) "\\)*"
     "\\)" ;; \1
     "\\(" "/" ".*" "\\)" "\\'"))) ;; \2
 
index 15b5a4958c622992c30ff66a0f28ec77bd5a7ca6..4db45f3c4036b3e4f73969a56a532c88d184828c 100644 (file)
@@ -232,8 +232,8 @@ If NAME is a remote file name, the local part of NAME is unquoted."
 ;; `cl-struct-slot-info' has been introduced with Emacs 25.
 (defmacro tramp-compat-tramp-file-name-slots ()
   (if (fboundp 'cl-struct-slot-info)
-      `(cdr (mapcar 'car (cl-struct-slot-info 'tramp-file-name)))
-    `(cdr (mapcar 'car (get 'tramp-file-name 'cl-struct-slots)))))
+      '(cdr (mapcar 'car (cl-struct-slot-info 'tramp-file-name)))
+    '(cdr (mapcar 'car (get 'tramp-file-name 'cl-struct-slots)))))
 
 ;; The signature of `tramp-make-tramp-file-name' has been changed.
 ;; Therefore, we cannot us `url-tramp-convert-url-to-tramp' prior
index e19e0eee3a9180c340176eeb894bc7a06124e183..2358b52c097af371b1345aa3b291b2a9c83080e4 100644 (file)
@@ -232,8 +232,8 @@ of another `notifications-notify' call."
        (add-to-list 'hints `(:dict-entry
                              "urgency"
                              (:variant :byte ,(pcase urgency
-                                                (`low 0)
-                                                (`critical 2)
+                                                ('low 0)
+                                                ('critical 2)
                                                 (_ 1)))) t))
       (when category
        (add-to-list 'hints `(:dict-entry
index a7470246492d29ff70b227de81419280d8a5e98b..7ae2e673993162db430e9845c13b173bae03845c 100644 (file)
         0))
 
 (defmacro pgg-byte-after (&optional pos)
-  `(pgg-char-int (char-after ,(or pos `(point)))))
+  `(pgg-char-int (char-after ,(or pos '(point)))))
 
 (defmacro pgg-read-byte ()
-  `(pgg-char-int (char-after (prog1 (point) (forward-char)))))
+  '(pgg-char-int (char-after (prog1 (point) (forward-char)))))
 
 (defmacro pgg-read-bytes-string (nbytes)
   `(buffer-substring
index e4c52d51464c11bbacaab379ac99813ddab0233a..056c2709e3ddcdd17852203ee054e0f7b757a531 100644 (file)
@@ -397,8 +397,8 @@ CALLBACK expects (ENTRIES &optional MORE-TO-COME); see
          (setq rev (replace-match (cdr rule) t nil rev))))
     (format "Arch%c%s"
            (pcase (vc-state file)
-             ((or `up-to-date `needs-update) ?-)
-             (`added ?@)
+             ((or 'up-to-date 'needs-update) ?-)
+             ('added ?@)
              (_ ?:))
            rev)))
 
index 3e91b2c8dfc30c505991a82bf349f092b7fc0aa2..c5c7fa7d6804bb39d83a1f36a296f65127cbacac 100644 (file)
@@ -410,18 +410,18 @@ If there is no registered search engine at all, the function returns nil."
        ;; Hopefully, this will change later.
        (setq hit-fields
              (pcase (intern vendor-id)
-               (`Beagle
+               ('Beagle
                 '("xesam:mimeType" "xesam:url"))
-               (`Strigi
+               ('Strigi
                 '("xesam:author" "xesam:cc" "xesam:charset"
                   "xesam:contentType" "xesam:fileExtension"
                   "xesam:id" "xesam:lineCount" "xesam:links"
                   "xesam:mimeType" "xesam:name" "xesam:size"
                   "xesam:sourceModified" "xesam:subject" "xesam:to"
                   "xesam:url"))
-               (`TrackerXesamSession
+               ('TrackerXesamSession
                 '("xesam:relevancyRating" "xesam:url"))
-               (`Debbugs
+               ('Debbugs
                 '("xesam:keyword" "xesam:owner" "xesam:title"
                   "xesam:url" "xesam:sourceModified" "xesam:mimeType"
                   "debbugs:key"))
index ff5be349676899d9909cc2dd1b5d63a8e00adf9d..a99f0fcb85e312f198bc14f85b227bcded2e4866 100644 (file)
@@ -136,7 +136,7 @@ or `org-babel-execute:C++' or `org-babel-execute:D'."
   (let* ((tmp-src-file (org-babel-temp-file
                        "C-src-"
                        (pcase org-babel-c-variant
-                         (`c ".c") (`cpp ".cpp") (`d ".d"))))
+                         ('c ".c") ('cpp ".cpp") ('d ".d"))))
         (tmp-bin-file                  ;not used for D
          (org-babel-process-file-name
           (org-babel-temp-file "C-bin-" org-babel-exeext)))
@@ -154,29 +154,29 @@ or `org-babel-execute:C++' or `org-babel-execute:D'."
                          " "))
         (full-body
          (pcase org-babel-c-variant
-           (`c (org-babel-C-expand-C body params))
-           (`cpp (org-babel-C-expand-C++ body params))
-           (`d (org-babel-C-expand-D body params)))))
+           ('c (org-babel-C-expand-C body params))
+           ('cpp (org-babel-C-expand-C++ body params))
+           ('d (org-babel-C-expand-D body params)))))
     (with-temp-file tmp-src-file (insert full-body))
     (pcase org-babel-c-variant
-      ((or `c `cpp)
+      ((or 'c 'cpp)
        (org-babel-eval
        (format "%s -o %s %s %s %s"
                (pcase org-babel-c-variant
-                 (`c org-babel-C-compiler)
-                 (`cpp org-babel-C++-compiler))
+                 ('c org-babel-C-compiler)
+                 ('cpp org-babel-C++-compiler))
                tmp-bin-file
                flags
                (org-babel-process-file-name tmp-src-file)
                libs)
        ""))
-      (`d nil)) ;; no separate compilation for D
+      ('d nil)) ;; no separate compilation for D
     (let ((results
           (org-babel-eval
            (pcase org-babel-c-variant
-             ((or `c `cpp)
+             ((or 'c 'cpp)
               (concat tmp-bin-file cmdline))
-             (`d
+             ('d
               (format "%s %s %s %s"
                       org-babel-D-compiler
                       flags
@@ -323,9 +323,9 @@ FORMAT can be either a format string or a function which is called with VAL."
   (let* ((basetype (org-babel-C-val-to-base-type val))
         (type
          (pcase basetype
-           (`integerp '("int" "%d"))
-           (`floatp '("double" "%f"))
-           (`stringp
+           ('integerp '("int" "%d"))
+           ('floatp '("double" "%f"))
+           ('stringp
             (list
              (if (eq org-babel-c-variant 'd) "string" "const char*")
              "\"%s\""))
@@ -373,11 +373,11 @@ FORMAT can be either a format string or a function which is called with VAL."
     (let ((type nil))
       (mapc (lambda (v)
              (pcase (org-babel-C-val-to-base-type v)
-               (`stringp (setq type 'stringp))
-               (`floatp
+               ('stringp (setq type 'stringp))
+               ('floatp
                 (if (or (not type) (eq type 'integerp))
                     (setq type 'floatp)))
-               (`integerp
+               ('integerp
                 (unless type (setq type 'integerp)))))
            val)
       type))
@@ -420,7 +420,7 @@ of the same value."
   "Generate a utility function to convert a column name
 into a column number."
   (pcase org-babel-c-variant
-    ((or `c `cpp)
+    ((or 'c 'cpp)
      "int get_column_num (int nbcols, const char** header, const char* column)
 {
   int c;
@@ -430,7 +430,7 @@ into a column number."
   return -1;
 }
 ")
-    (`d
+    ('d
      "int get_column_num (string[] header, string column)
 {
   foreach (c, h; header)
@@ -448,18 +448,18 @@ specifying a variable with the name of the table."
     (concat
      (format
       (pcase org-babel-c-variant
-       ((or `c `cpp) "const char* %s_header[%d] = {%s};")
-       (`d "string %s_header[%d] = [%s];"))
+       ((or 'c 'cpp) "const char* %s_header[%d] = {%s};")
+       ('d "string %s_header[%d] = [%s];"))
       table
       (length headers)
       (mapconcat (lambda (h) (format "%S" h)) headers ","))
      "\n"
      (pcase org-babel-c-variant
-       ((or `c `cpp)
+       ((or 'c 'cpp)
        (format
         "const char* %s_h (int row, const char* col) { return %s[row][get_column_num(%d,%s_header,col)]; }"
         table table (length headers) table))
-       (`d
+       ('d
        (format
         "string %s_h (size_t row, string col) { return %s[row][get_column_num(%s_header,col)]; }"
         table table table))))))
index a5449fe35e966afa71710ab9a262ed5450c07904..ddf756c915707a3a1bfb425331e0b31e3e0bfc2e 100644 (file)
@@ -283,9 +283,9 @@ environment, to override this check."
         (name (nth 4 info))
         (name-string (if name (format " (%s) " name) " ")))
     (pcase evalp
-      (`nil nil)
-      (`t t)
-      (`query (or
+      ('nil nil)
+      ('t t)
+      ('query (or
               (and (not (bound-and-true-p
                          org-babel-confirm-evaluate-answer-no))
                    (yes-or-no-p
@@ -1991,7 +1991,7 @@ to HASH."
     (catch :found
       (org-with-wide-buffer
        (pcase (org-element-type context)
-        ((or `inline-babel-call `inline-src-block)
+        ((or 'inline-babel-call 'inline-src-block)
          ;; Results for inline objects are located right after them.
          ;; There is no RESULTS line to insert either.
          (let ((limit (org-element-property
@@ -2013,7 +2013,7 @@ to HASH."
                                (skip-chars-backward " \t")
                                (point)))
                             (point))))))))
-        ((or `babel-call `src-block)
+        ((or 'babel-call 'src-block)
          (let* ((name (org-element-property :name context))
                 (named-results (and name (org-babel-find-named-result name))))
            (goto-char (or named-results (org-element-property :end context)))
@@ -2067,20 +2067,20 @@ Return nil if ELEMENT cannot be read."
   (org-with-wide-buffer
    (goto-char (org-element-property :post-affiliated element))
    (pcase (org-element-type element)
-     (`fixed-width
+     ('fixed-width
       (let ((v (org-trim (org-element-property :value element))))
        (or (org-babel--string-to-number v) v)))
-     (`table (org-babel-read-table))
-     (`plain-list (org-babel-read-list))
-     (`example-block
+     ('table (org-babel-read-table))
+     ('plain-list (org-babel-read-list))
+     ('example-block
       (let ((v (org-element-property :value element)))
        (if (or org-src-preserve-indentation
                (org-element-property :preserve-indent element))
            v
          (org-remove-indentation v))))
-     (`export-block
+     ('export-block
       (org-remove-indentation (org-element-property :value element)))
-     (`paragraph
+     ('paragraph
       ;; Treat paragraphs containing a single link specially.
       (skip-chars-forward " \t")
       (if (and (looking-at org-bracket-link-regexp)
@@ -2093,7 +2093,7 @@ Return nil if ELEMENT cannot be read."
        (buffer-substring-no-properties
         (org-element-property :contents-begin element)
         (org-element-property :contents-end element))))
-     ((or `center-block `quote-block `verse-block `special-block)
+     ((or 'center-block 'quote-block 'verse-block 'special-block)
       (org-remove-indentation
        (buffer-substring-no-properties
        (org-element-property :contents-begin element)
index 264dc0ed06751f8bb6514fc5cebf9ea635740a52..bb4ef1b77f0f993acddf7d0b310b6bf7c91d8a16 100644 (file)
@@ -175,7 +175,7 @@ this template."
                            ;;
                            ;; #+name: call_src
                            ;; #+begin_src ...
-                           ((and (or `babel-call `src-block) (guard object?))
+                           ((and (or 'babel-call 'src-block) (guard object?))
                             nil)
                            (type type)))
                         (begin
@@ -187,7 +187,7 @@ this template."
                             (skip-chars-backward " \r\t\n")
                             (point)))))
                    (pcase type
-                     (`inline-src-block
+                     ('inline-src-block
                       (let* ((info
                               (org-babel-get-src-block-info nil element))
                              (params (nth 2 info)))
@@ -215,7 +215,7 @@ this template."
                             ;; insert value.
                             (delete-region begin end)
                             (insert replacement)))))
-                     ((or `babel-call `inline-babel-call)
+                     ((or 'babel-call 'inline-babel-call)
                       (org-babel-exp-do-export (org-babel-lob-get-info element)
                                                'lob)
                       (let ((rep
@@ -242,7 +242,7 @@ this template."
                           (goto-char begin)
                           (delete-region begin end)
                           (insert rep))))
-                     (`src-block
+                     ('src-block
                       (let ((match-start (copy-marker (match-beginning 0)))
                             (ind (org-get-indentation)))
                         ;; Take care of matched block: compute
@@ -394,14 +394,14 @@ inhibit insertion of results into the buffer."
                  (nth 2 info)
                  `((:results . ,(if silent "silent" "replace")))))))
        (pcase type
-         (`block (org-babel-execute-src-block nil info))
-         (`inline
+         ('block (org-babel-execute-src-block nil info))
+         ('inline
            ;; Position the point on the inline source block
            ;; allowing `org-babel-insert-result' to check that the
            ;; block is inline.
            (goto-char (nth 5 info))
            (org-babel-execute-src-block nil info))
-         (`lob
+         ('lob
           (save-excursion
             (goto-char (nth 5 info))
             (let (org-confirm-babel-evaluate)
index 565b09754ba4caf7c2116088fb38383358745e72..44470dd1a19b5fff3c1751395968c82b34260dec 100644 (file)
@@ -83,12 +83,12 @@ If RESULT-TYPE equals `value' then return the value of the last statement
 in BODY as elisp."
   (when session (error "Sessions are not (yet) supported for Groovy"))
   (pcase result-type
-    (`output
+    ('output
      (let ((src-file (org-babel-temp-file "groovy_")))
        (progn (with-temp-file src-file (insert body))
               (org-babel-eval
                (concat org-babel-groovy-command " " src-file) ""))))
-    (`value
+    ('value
      (let* ((src-file (org-babel-temp-file "groovy_"))
             (wrapper (format org-babel-groovy-wrapper-method body)))
        (with-temp-file src-file (insert wrapper))
index e607ee0c55be5528f69c4b84471cf2d6e499e1ab..ba1b4d00fc164bde0a3abc2c9ec628a8ee52a917 100644 (file)
@@ -89,8 +89,8 @@
     (org-babel-reassemble-table
      (let ((result
             (pcase result-type
-              (`output (mapconcat #'identity (reverse (cdr results)) "\n"))
-              (`value (car results)))))
+              ('output (mapconcat #'identity (reverse (cdr results)) "\n"))
+              ('value (car results)))))
        (org-babel-result-cond (cdr (assq :result-params params))
         result (org-babel-script-escape result)))
      (org-babel-pick-name (cdr (assq :colname-names params))
index 4f407cc52c3fa890bf648b0233878445b468299f..07746aaac7e2de575c9debdbf405a1b29cc7c374 100644 (file)
@@ -74,14 +74,14 @@ If RESULT-TYPE equals `value' then return the value of the last statement
 in BODY as elisp."
   (when session (error "Sessions are not (yet) supported for Io"))
   (pcase result-type
-    (`output
+    ('output
      (if (member "repl" result-params)
          (org-babel-eval org-babel-io-command body)
        (let ((src-file (org-babel-temp-file "io-")))
          (progn (with-temp-file src-file (insert body))
                 (org-babel-eval
                  (concat org-babel-io-command " " src-file) "")))))
-    (`value (let* ((src-file (org-babel-temp-file "io-"))
+    ('value (let* ((src-file (org-babel-temp-file "io-"))
                   (wrapper (format org-babel-io-wrapper-method body)))
              (with-temp-file src-file (insert wrapper))
              (let ((raw (org-babel-eval
index b846138f7a3e44692442ca21c4437c325eb5c82e..8fc691ed6166700bf6fffc09436c3048bb4cbe4a 100644 (file)
@@ -87,8 +87,8 @@ current directory string."
 BODY is the contents of the block, as a string.  PARAMS is
 a property list containing the parameters of the block."
   (require (pcase org-babel-lisp-eval-fn
-            (`slime-eval 'slime)
-            (`sly-eval 'sly)))
+            ('slime-eval 'slime)
+            ('sly-eval 'sly)))
   (org-babel-reassemble-table
    (let ((result
           (funcall (if (member "output" (cdr (assq :result-params params)))
index 6af6bf07e84cc481e17268053045190ad48d8f3b..6668ccd8bab781322f73f1d39478939cd2503a9b 100644 (file)
@@ -105,8 +105,8 @@ after REF in the Library of Babel."
                (when (equal name (org-element-property :name element))
                  (throw :found
                         (pcase (org-element-type element)
-                          (`src-block (org-babel-get-src-block-info t element))
-                          (`babel-call (org-babel-lob-get-info element))
+                          ('src-block (org-babel-get-src-block-info t element))
+                          ('babel-call (org-babel-lob-get-info element))
                           ;; Non-executable data found.  Since names
                           ;; are supposed to be unique throughout
                           ;; a document, bail out.
index 6ae72c7e565970d2a07a3102568a396221226b12..7750afdffcb5f0b5ad3b812c8e371884df427be3 100644 (file)
@@ -290,10 +290,10 @@ string.  If RESULT-TYPE equals 'value then return the value of the
 last statement in BODY, as elisp."
   (let ((raw
          (pcase result-type
-           (`output (org-babel-eval org-babel-lua-command
+           ('output (org-babel-eval org-babel-lua-command
                                    (concat (if preamble (concat preamble "\n"))
                                            body)))
-           (`value (let ((tmp-file (org-babel-temp-file "lua-")))
+           ('value (let ((tmp-file (org-babel-temp-file "lua-")))
                     (org-babel-eval
                      org-babel-lua-command
                      (concat
@@ -364,7 +364,7 @@ fd:close()"
                       (funcall send-wait)))
          (results
           (pcase result-type
-            (`output
+            ('output
              (mapconcat
               #'org-trim
               (butlast
@@ -375,7 +375,7 @@ fd:close()"
                  (insert org-babel-lua-eoe-indicator)
                  (funcall send-wait))
                2) "\n"))
-            (`value
+            ('value
              (let ((tmp-file (org-babel-temp-file "lua-")))
                (org-babel-comint-with-output
                    (session org-babel-lua-eoe-indicator nil body)
index c7339cf992d5cca195fa849daecede7c10151778..f19b6ccf25b1e7aca205f62cba7094e8721fc809 100644 (file)
@@ -178,14 +178,14 @@ value of the last statement in BODY, as elisp."
                 org-babel-matlab-shell-command
               org-babel-octave-shell-command)))
     (pcase result-type
-      (`output (org-babel-eval cmd body))
-      (`value (let ((tmp-file (org-babel-temp-file "octave-")))
-              (org-babel-eval
-               cmd
-               (format org-babel-octave-wrapper-method body
-                       (org-babel-process-file-name tmp-file 'noquote)
-                       (org-babel-process-file-name tmp-file 'noquote)))
-              (org-babel-octave-import-elisp-from-file tmp-file))))))
+      ('output (org-babel-eval cmd body))
+      ('value (let ((tmp-file (org-babel-temp-file "octave-")))
+               (org-babel-eval
+                cmd
+                (format org-babel-octave-wrapper-method body
+                        (org-babel-process-file-name tmp-file 'noquote)
+                        (org-babel-process-file-name tmp-file 'noquote)))
+               (org-babel-octave-import-elisp-from-file tmp-file))))))
 
 (defun org-babel-octave-evaluate-session
     (session body result-type &optional matlabp)
@@ -194,11 +194,11 @@ value of the last statement in BODY, as elisp."
         (wait-file (org-babel-temp-file "matlab-emacs-link-wait-signal-"))
         (full-body
          (pcase result-type
-           (`output
+           ('output
             (mapconcat
              #'org-babel-chomp
              (list body org-babel-octave-eoe-indicator) "\n"))
-           (`value
+           ('value
             (if (and matlabp org-babel-matlab-with-emacs-link)
                 (concat
                  (format org-babel-matlab-emacs-link-wrapper-method
@@ -232,9 +232,9 @@ value of the last statement in BODY, as elisp."
                     t full-body)
                  (insert full-body) (comint-send-input nil t)))) results)
     (pcase result-type
-      (`value
+      ('value
        (org-babel-octave-import-elisp-from-file tmp-file))
-      (`output
+      ('output
        (setq results
             (if matlabp
                 (cdr (reverse (delq "" (mapcar
index 85806fd533035b4537bac2f2f15c54636a97121c..adb62ce50b9311e556c5306224794f8e926fac8f 100644 (file)
@@ -136,12 +136,12 @@ return the value of the last statement in BODY, as elisp."
                          tmp-file 'noquote)))
     (let ((results
            (pcase result-type
-             (`output
+             ('output
               (with-temp-file tmp-file
                 (insert
                  (org-babel-eval org-babel-perl-command body))
                 (buffer-string)))
-             (`value
+             ('value
               (org-babel-eval org-babel-perl-command
                               (format org-babel-perl-wrapper-method
                                       body tmp-babel-file))))))
index 9f1234bac52e2413ccbeba4c464c5d4e701ba66c..3f1bbf1cb3dff8838888c91be40cb7cf2d28ee5b 100644 (file)
@@ -265,10 +265,10 @@ string.  If RESULT-TYPE equals `value' then return the value of the
 last statement in BODY, as elisp."
   (let ((raw
          (pcase result-type
-           (`output (org-babel-eval org-babel-python-command
+           ('output (org-babel-eval org-babel-python-command
                                    (concat (if preamble (concat preamble "\n"))
                                            body)))
-           (`value (let ((tmp-file (org-babel-temp-file "python-")))
+           ('value (let ((tmp-file (org-babel-temp-file "python-")))
                     (org-babel-eval
                      org-babel-python-command
                      (concat
@@ -314,7 +314,7 @@ last statement in BODY, as elisp."
                       (funcall send-wait)))
          (results
           (pcase result-type
-            (`output
+            ('output
             (let ((body (if (string-match-p ".\n+." body) ; Multiline
                             (let ((tmp-src-file (org-babel-temp-file
                                                  "python-")))
@@ -332,7 +332,7 @@ last statement in BODY, as elisp."
                   (insert org-babel-python-eoe-indicator)
                   (funcall send-wait))
                 2) "\n")))
-            (`value
+            ('value
              (let ((tmp-file (org-babel-temp-file "python-")))
                (org-babel-comint-with-output
                    (session org-babel-python-eoe-indicator nil body)
index 3efa17f9601fc9eaca9043c63e746c9ec5bbfd8a..88a93294dbe9c1ffce0541b30d15334631299161 100644 (file)
@@ -166,11 +166,11 @@ Emacs Lisp representation of the value of the variable."
                             (goto-char
                              (org-element-property :post-affiliated e))
                             (pcase (org-element-type e)
-                              (`babel-call
+                              ('babel-call
                                (throw :found
                                       (org-babel-execute-src-block
                                        nil (org-babel-lob-get-info e) params)))
-                              (`src-block
+                              ('src-block
                                (throw :found
                                       (org-babel-execute-src-block
                                        nil nil
index 7686ac4e807af9e7d895de9f69202c0ad0758afe..bb06b008a6914cceb99e9fcba6cdf7b3a6f66034 100644 (file)
@@ -200,8 +200,8 @@ return the value of the last statement in BODY, as elisp."
   (if (not buffer)
       ;; external process evaluation
       (pcase result-type
-       (`output (org-babel-eval org-babel-ruby-command body))
-       (`value (let ((tmp-file (org-babel-temp-file "ruby-")))
+       ('output (org-babel-eval org-babel-ruby-command body))
+       ('value (let ((tmp-file (org-babel-temp-file "ruby-")))
                  (org-babel-eval
                   org-babel-ruby-command
                   (format (if (member "pp" result-params)
@@ -211,7 +211,7 @@ return the value of the last statement in BODY, as elisp."
                  (org-babel-eval-read-file tmp-file))))
     ;; comint session evaluation
     (pcase result-type
-      (`output
+      ('output
        (let ((eoe-string (format "puts \"%s\"" org-babel-ruby-eoe-indicator)))
         ;; Force the session to be ready before the actual session
         ;; code is run.  There is some problem in comint that will
@@ -238,7 +238,7 @@ return the value of the last statement in BODY, as elisp."
                      "conf.prompt_mode=_org_prompt_mode;conf.echo=true"
                      eoe-string)))
             "\n") "[\r\n]") 4) "\n")))
-      (`value
+      ('value
        (let* ((tmp-file (org-babel-temp-file "ruby-"))
              (ppp (or (member "code" result-params)
                       (member "pp" result-params))))
index 959ede3decc8039b6f5b4290a4b332b96df4be05..cdedf7edfb82148ff4c699b568cf95e93a7ae923 100644 (file)
@@ -175,16 +175,16 @@ This function is called by `org-babel-execute-src-block'."
                        (org-babel-temp-file "sql-out-")))
         (header-delim "")
          (command (pcase (intern engine)
-                    (`dbi (format "dbish --batch %s < %s | sed '%s' > %s"
+                    ('dbi (format "dbish --batch %s < %s | sed '%s' > %s"
                                  (or cmdline "")
                                  (org-babel-process-file-name in-file)
                                  "/^+/d;s/^|//;s/(NULL)/ /g;$d"
                                  (org-babel-process-file-name out-file)))
-                    (`monetdb (format "mclient -f tab %s < %s > %s"
+                    ('monetdb (format "mclient -f tab %s < %s > %s"
                                      (or cmdline "")
                                      (org-babel-process-file-name in-file)
                                      (org-babel-process-file-name out-file)))
-                   (`mssql (format "sqlcmd %s -s \"\t\" %s -i %s -o %s"
+                   ('mssql (format "sqlcmd %s -s \"\t\" %s -i %s -o %s"
                                    (or cmdline "")
                                    (org-babel-sql-dbstring-mssql
                                     dbhost dbuser dbpassword database)
@@ -192,14 +192,14 @@ This function is called by `org-babel-execute-src-block'."
                                     (org-babel-process-file-name in-file))
                                    (org-babel-sql-convert-standard-filename
                                     (org-babel-process-file-name out-file))))
-                    (`mysql (format "mysql %s %s %s < %s > %s"
+                    ('mysql (format "mysql %s %s %s < %s > %s"
                                    (org-babel-sql-dbstring-mysql
                                     dbhost dbport dbuser dbpassword database)
                                    (if colnames-p "" "-N")
                                    (or cmdline "")
                                    (org-babel-process-file-name in-file)
                                    (org-babel-process-file-name out-file)))
-                   (`postgresql (format
+                   ('postgresql (format
                                  "%spsql --set=\"ON_ERROR_STOP=1\" %s -A -P \
 footer=off -F \"\t\"  %s -f %s -o %s %s"
                                  (if dbpassword
@@ -211,7 +211,7 @@ footer=off -F \"\t\"  %s -f %s -o %s %s"
                                  (org-babel-process-file-name in-file)
                                  (org-babel-process-file-name out-file)
                                  (or cmdline "")))
-                   (`sqsh (format "sqsh %s %s -i %s -o %s -m csv"
+                   ('sqsh (format "sqsh %s %s -i %s -o %s -m csv"
                                   (or cmdline "")
                                   (org-babel-sql-dbstring-sqsh
                                    dbhost dbuser dbpassword database)
@@ -219,13 +219,13 @@ footer=off -F \"\t\"  %s -f %s -o %s %s"
                                    (org-babel-process-file-name in-file))
                                   (org-babel-sql-convert-standard-filename
                                    (org-babel-process-file-name out-file))))
-                   (`vertica (format "vsql %s -f %s -o %s %s"
-                                   (org-babel-sql-dbstring-vertica
-                                    dbhost dbport dbuser dbpassword database)
-                                   (org-babel-process-file-name in-file)
-                                   (org-babel-process-file-name out-file)
-                                   (or cmdline "")))
-                    (`oracle (format
+                   ('vertica (format "vsql %s -f %s -o %s %s"
+                                     (org-babel-sql-dbstring-vertica
+                                      dbhost dbport dbuser dbpassword database)
+                                     (org-babel-process-file-name in-file)
+                                     (org-babel-process-file-name out-file)
+                                     (or cmdline "")))
+                    ('oracle (format
                              "sqlplus -s %s < %s > %s"
                              (org-babel-sql-dbstring-oracle
                               dbhost dbport dbuser dbpassword database)
@@ -235,8 +235,8 @@ footer=off -F \"\t\"  %s -f %s -o %s %s"
     (with-temp-file in-file
       (insert
        (pcase (intern engine)
-        (`dbi "/format partbox\n")
-         (`oracle "SET PAGESIZE 50000
+        ('dbi "/format partbox\n")
+         ('oracle "SET PAGESIZE 50000
 SET NEWPAGE 0
 SET TAB OFF
 SET SPACE 0
@@ -249,10 +249,10 @@ SET MARKUP HTML OFF SPOOL OFF
 SET COLSEP '|'
 
 ")
-        ((or `mssql `sqsh) "SET NOCOUNT ON
+        ((or 'mssql 'sqsh) "SET NOCOUNT ON
 
 ")
-        (`vertica "\\a\n")
+        ('vertica "\\a\n")
         (_ ""))
        (org-babel-expand-body:sql body params)
        ;; "sqsh" requires "go" inserted at EOF.
index 98e89eb1c4e4b1c336cff1fa8ea19c9f5cab2e0e..d92fbaf8977df4745e9b0c8a4e8d5156e4827f6b 100644 (file)
@@ -6213,12 +6213,12 @@ scheduled items with an hour specification like [h]h:mm."
                    (or (not (memq (line-beginning-position 0) deadline-pos))
                        habitp))
                   nil)
-                 (`repeated-after-deadline
+                 ('repeated-after-deadline
                   (let ((deadline (time-to-days
                                    (org-get-deadline-time (point)))))
                     (and (<= schedule deadline) (> current deadline))))
-                 (`not-today pastschedp)
-                 (`t t)
+                 ('not-today pastschedp)
+                 ('t t)
                  (_ nil))
            (throw :skip nil))
          ;; Skip habits if `org-habit-show-habits' is nil, or if we
index 3de386c69d6f417996bc1bd35d843dac1093a876..f51eee56b7dd7e61e70334569d11da882a2038fa 100644 (file)
@@ -1042,7 +1042,7 @@ Store them in the capture property list."
         (org-capture-put :exact-position (point))
         (setq target-entry-p
               (and (derived-mode-p 'org-mode) (org-at-heading-p))))
-       (`(clock)
+       ('(clock)
         (if (and (markerp org-clock-hd-marker)
                  (marker-buffer org-clock-hd-marker))
             (progn (set-buffer (marker-buffer org-clock-hd-marker))
@@ -1101,11 +1101,11 @@ may have been stored before."
   (goto-char (org-capture-get :pos))
   (setq-local outline-level 'org-outline-level)
   (pcase (org-capture-get :type)
-    ((or `nil `entry) (org-capture-place-entry))
-    (`table-line (org-capture-place-table-line))
-    (`plain (org-capture-place-plain-text))
-    (`item (org-capture-place-item))
-    (`checkitem (org-capture-place-item)))
+    ((or 'nil 'entry) (org-capture-place-entry))
+    ('table-line (org-capture-place-table-line))
+    ('plain (org-capture-place-plain-text))
+    ('item (org-capture-place-item))
+    ('checkitem (org-capture-place-item)))
   (org-capture-mode 1)
   (setq-local org-capture-current-plist org-capture-plist))
 
@@ -1791,7 +1791,7 @@ The template may still contain \"%?\" for cursor positioning."
                     (let ((insert-fun (if (equal key "C") #'insert
                                         (lambda (s) (org-insert-link 0 s)))))
                       (pcase org-capture--clipboards
-                        (`nil nil)
+                        ('nil nil)
                         (`(,value) (funcall insert-fun value))
                         (`(,first-value . ,_)
                          (funcall insert-fun
@@ -1811,7 +1811,7 @@ The template may still contain \"%?\" for cursor positioning."
                        time (or org-time-was-given upcase?)
                        (member key '("u" "U"))
                        nil nil (list org-end-time-was-given))))
-                   (`nil
+                   ('nil
                     ;; Load history list for current prompt.
                     (setq org-capture--prompt-history
                           (gethash prompt org-capture--prompt-history-table))
index 9be0d5bc1ff9aab48c4d3e19087748d14cbf938b..0940c12147374bbc79bf4b07525fcfa681a822b8 100644 (file)
@@ -1692,11 +1692,11 @@ Optional argument N tells to change by that many units."
            (org-timestamp-change
             (round (/ (float-time tdiff)
                       (pcase timestamp?
-                        (`minute 60)
-                        (`hour 3600)
-                        (`day (* 24 3600))
-                        (`month (* 24 3600 31))
-                        (`year (* 24 3600 365.2)))))
+                        ('minute 60)
+                        ('hour 3600)
+                        ('day (* 24 3600))
+                        ('month (* 24 3600 31))
+                        ('year (* 24 3600 365.2)))))
             timestamp? 'updown)))))))
 
 ;;;###autoload
@@ -2045,7 +2045,7 @@ in the buffer and update it."
     (org-find-dblock "clocktable")
     (org-show-entry))
   (pcase (org-in-clocktable-p)
-    (`nil
+    ('nil
      (org-create-dblock
       (org-combine-plists
        (list :scope (if (org-before-first-heading-p) 'file 'subtree))
@@ -2194,21 +2194,21 @@ have priority."
        (error "Looking forward with quarters isn't implemented"))))
     (when (= shift 0)
       (pcase key
-       (`yesterday (setq key 'today   shift -1))
-       (`lastweek  (setq key 'week    shift -1))
-       (`lastmonth (setq key 'month   shift -1))
-       (`lastyear  (setq key 'year    shift -1))
-       (`lastq     (setq key 'quarter shift -1))))
+       ('yesterday (setq key 'today   shift -1))
+       ('lastweek  (setq key 'week    shift -1))
+       ('lastmonth (setq key 'month   shift -1))
+       ('lastyear  (setq key 'year    shift -1))
+       ('lastq     (setq key 'quarter shift -1))))
     ;; Prepare start and end times depending on KEY's type.
     (pcase key
-      ((or `day `today) (setq m 0 h 0 h1 24 d (+ d shift)))
-      ((or `week `thisweek)
+      ((or 'day 'today) (setq m 0 h 0 h1 24 d (+ d shift)))
+      ((or 'week 'thisweek)
        (let* ((ws (or wstart 1))
              (diff (+ (* -7 shift) (if (= dow 0) (- 7 ws) (- dow ws)))))
         (setq m 0 h 0 d (- d diff) d1 (+ 7 d))))
-      ((or `month `thismonth)
+      ((or 'month 'thismonth)
        (setq h 0 m 0 d (or mstart 1) month (+ month shift) month1 (1+ month)))
-      ((or `quarter `thisq)
+      ((or 'quarter 'thisq)
        ;; Compute if this shift remains in this year.  If not, compute
        ;; how many years and quarters we have to shift (via floor*) and
        ;; compute the shifted years, months and quarters.
@@ -2231,13 +2231,13 @@ have priority."
         (setq shiftedy y)
         (let ((qshift (* 3 (1- (+ q shift)))))
           (setq m 0 h 0 d 1 month (+ 1 qshift) month1 (+ 4 qshift))))))
-      ((or `year `thisyear)
+      ((or 'year 'thisyear)
        (setq m 0 h 0 d 1 month 1 y (+ y shift) y1 (1+ y)))
-      ((or `interactive `untilnow))    ; Special cases, ignore them.
+      ((or 'interactive 'untilnow))    ; Special cases, ignore them.
       (_ (user-error "No such time block %s" key)))
     ;; Format start and end times according to AS-STRINGS.
     (let* ((start (pcase key
-                   (`interactive (org-read-date nil t nil "Range start? "))
+                   ('interactive (org-read-date nil t nil "Range start? "))
                     ;; In theory, all clocks started after the dawn of
                     ;; humanity.  However, the platform's clock
                     ;; support might not go back that far.  Choose the
@@ -2246,15 +2246,15 @@ have priority."
                     ;; that works, otherwise 0 (1970).  Going back
                     ;; billions of years would loop forever on Mac OS
                     ;; X 10.6 with Emacs 26 and earlier (Bug#27736).
-                   (`untilnow
+                   ('untilnow
                      (let ((old 0))
                        (dolist (older '((-32768 0) (-33554432 0)) old)
                          (when (ignore-errors (decode-time older))
                           (setq old older)))))
                    (_ (encode-time 0 m h d month y))))
           (end (pcase key
-                 (`interactive (org-read-date nil t nil "Range end? "))
-                 (`untilnow (current-time))
+                 ('interactive (org-read-date nil t nil "Range end? "))
+                 ('untilnow (current-time))
                  (_ (encode-time 0
                                  (or m1 m)
                                  (or h1 h)
@@ -2263,15 +2263,15 @@ have priority."
                                  (or y1 y)))))
           (text
            (pcase key
-             ((or `day `today) (format-time-string "%A, %B %d, %Y" start))
-             ((or `week `thisweek) (format-time-string "week %G-W%V" start))
-             ((or `month `thismonth) (format-time-string "%B %Y" start))
-             ((or `year `thisyear) (format-time-string "the year %Y" start))
-             ((or `quarter `thisq)
+             ((or 'day 'today) (format-time-string "%A, %B %d, %Y" start))
+             ((or 'week 'thisweek) (format-time-string "week %G-W%V" start))
+             ((or 'month 'thismonth) (format-time-string "%B %Y" start))
+             ((or 'year 'thisyear) (format-time-string "the year %Y" start))
+             ((or 'quarter 'thisq)
               (concat (org-count-quarter shiftedq)
                       " quarter of " (number-to-string shiftedy)))
-             (`interactive "(Range interactively set)")
-             (`untilnow "now"))))
+             ('interactive "(Range interactively set)")
+             ('untilnow "now"))))
       (if (not as-strings) (list start end text)
        (let ((f (cdr org-time-stamp-formats)))
          (list (format-time-string f start)
@@ -2375,11 +2375,11 @@ the currently selected interval size."
   (catch 'exit
     (let* ((scope (plist-get params :scope))
           (files (pcase scope
-                   (`agenda
+                   ('agenda
                     (org-agenda-files t))
-                   (`agenda-with-archives
+                   ('agenda-with-archives
                     (org-add-archive-files (org-agenda-files t)))
-                   (`file-with-archives
+                   ('file-with-archives
                     (and buffer-file-name
                          (org-add-archive-files (list buffer-file-name))))
                    ((pred functionp) (funcall scope))
@@ -2502,7 +2502,7 @@ from the dynamic block definition."
       (setq narrow (intern (format "%d!" narrow))))
 
     (pcase narrow
-      ((or `nil (pred integerp)) nil)  ;nothing to do
+      ((or 'nil (pred integerp)) nil)  ;nothing to do
       ((and (pred symbolp)
            (guard (string-match-p "\\`[0-9]+!\\'" (symbol-name narrow))))
        (setq narrow-cut-p t)
index cb5c091d0a346c9528305d02e570f298f8ef59a7..e6464ab8a14d2ca0c4916d2044163bb8594016c8 100644 (file)
@@ -1379,8 +1379,8 @@ PARAMS is a property list of parameters:
         (let ((id (plist-get params :id))
               view-file view-pos)
           (pcase id
-            (`global nil)
-            ((or `local `nil) (setq view-pos (point)))
+            ('global nil)
+            ((or 'local 'nil) (setq view-pos (point)))
             ((and (let id-string (format "%s" id))
                   (guard (string-match "^file:\\(.*\\)" id-string)))
              (setq view-file (match-string-no-properties 1 id-string))
index 1c962ba94e0b12e72ac00c4b1a709bb181550be7..fed864a5454030eff859006aa8fc898989c3e830 100644 (file)
@@ -316,10 +316,10 @@ When optional argument CANONICAL is non-nil, ignore
 
 Raise an error if expected format is unknown."
   (pcase (or fmt org-duration-format)
-    (`h:mm
+    ('h:mm
      (let ((minutes (floor minutes)))
        (format "%d:%02d" (/ minutes 60) (mod minutes 60))))
-    (`h:mm:ss
+    ('h:mm:ss
      (let* ((whole-minutes (floor minutes))
            (seconds (floor (* 60 (- minutes whole-minutes)))))
        (format "%s:%02d"
@@ -328,7 +328,7 @@ Raise an error if expected format is unknown."
     ((pred atom) (error "Invalid duration format specification: %S" fmt))
     ;; Mixed format.  Call recursively the function on both parts.
     ((and duration-format
-         (let `(special . ,(and mode (or `h:mm:ss `h:mm)))
+         (let `(special . ,(and mode (or 'h:mm:ss 'h:mm)))
            (assq 'special duration-format)))
      (let* ((truncated-format
             ;; Remove "special" mode from duration format in order to
index b8f14670226cde13ebc6828fd0e201651e495ab0..09840cc44f268f05b1c55447412fc198724a17ae 100644 (file)
@@ -588,9 +588,9 @@ is cleared and contents are removed in the process."
   (when datum
     (let ((type (org-element-type datum)))
       (pcase type
-       (`org-data (list 'org-data nil))
-       (`plain-text (substring-no-properties datum))
-       (`nil (copy-sequence datum))
+       ('org-data (list 'org-data nil))
+       ('plain-text (substring-no-properties datum))
+       ('nil (copy-sequence datum))
        (_
         (list type (plist-put (copy-sequence (nth 1 datum)) :parent nil)))))))
 
@@ -1285,9 +1285,9 @@ CONTENTS is the contents of the element."
      bullet
      (and counter (format "[@%d] " counter))
      (pcase checkbox
-       (`on "[X] ")
-       (`off "[ ] ")
-       (`trans "[-] ")
+       ('on "[X] ")
+       ('off "[ ] ")
+       ('trans "[-] ")
        (_ nil))
      (and tag (format "%s :: " tag))
      (when contents
@@ -3185,13 +3185,13 @@ CONTENTS is the contents of the object, or nil."
                            ;; a format string, escape percent signs
                            ;; in description.
                            (replace-regexp-in-string "%" "%%" contents)))
-                  ((or `bracket
-                       `nil
+                  ((or 'bracket
+                       'nil
                        (guard (member type '("coderef" "custom-id" "fuzzy"))))
                    "[[%s]]")
                   ;; Otherwise, just obey to `:format'.
-                  (`angle "<%s>")
-                  (`plain "%s")
+                  ('angle "<%s>")
+                  ('plain "%s")
                   (f (error "Wrong `:format' value: %s" f)))))
        (format fmt
                (pcase type
@@ -3581,19 +3581,19 @@ Assume point is at the beginning of the timestamp."
   (let* ((repeat-string
          (concat
           (pcase (org-element-property :repeater-type timestamp)
-            (`cumulate "+") (`catch-up "++") (`restart ".+"))
+            ('cumulate "+") ('catch-up "++") ('restart ".+"))
           (let ((val (org-element-property :repeater-value timestamp)))
             (and val (number-to-string val)))
           (pcase (org-element-property :repeater-unit timestamp)
-            (`hour "h") (`day "d") (`week "w") (`month "m") (`year "y"))))
+            ('hour "h") ('day "d") ('week "w") ('month "m") ('year "y"))))
         (warning-string
          (concat
           (pcase (org-element-property :warning-type timestamp)
-            (`first "--") (`all "-"))
+            ('first "--") ('all "-"))
           (let ((val (org-element-property :warning-value timestamp)))
             (and val (number-to-string val)))
           (pcase (org-element-property :warning-unit timestamp)
-            (`hour "h") (`day "d") (`week "w") (`month "m") (`year "y"))))
+            ('hour "h") ('day "d") ('week "w") ('month "m") ('year "y"))))
         (build-ts-string
          ;; Build an Org timestamp string from TIME.  ACTIVEP is
          ;; non-nil when time stamp is active.  If WITH-TIME-P is
@@ -3622,7 +3622,7 @@ Assume point is at the beginning of the timestamp."
              ts)))
         (type (org-element-property :type timestamp)))
     (pcase type
-      ((or `active `inactive)
+      ((or 'active 'inactive)
        (let* ((minute-start (org-element-property :minute-start timestamp))
              (minute-end (org-element-property :minute-end timestamp))
              (hour-start (org-element-property :hour-start timestamp))
@@ -3642,7 +3642,7 @@ Assume point is at the beginning of the timestamp."
          (and hour-start minute-start)
          (and time-range-p hour-end)
          (and time-range-p minute-end))))
-      ((or `active-range `inactive-range)
+      ((or 'active-range 'inactive-range)
        (let ((minute-start (org-element-property :minute-start timestamp))
             (minute-end (org-element-property :minute-end timestamp))
             (hour-start (org-element-property :hour-start timestamp))
@@ -4227,17 +4227,17 @@ otherwise.  Modes can be either `first-section', `item',
 `table-row' or nil."
   (if parentp
       (pcase type
-       (`headline 'section)
-       (`inlinetask 'planning)
-       (`plain-list 'item)
-       (`property-drawer 'node-property)
-       (`section 'planning)
-       (`table 'table-row))
+       ('headline 'section)
+       ('inlinetask 'planning)
+       ('plain-list 'item)
+       ('property-drawer 'node-property)
+       ('section 'planning)
+       ('table 'table-row))
     (pcase type
-      (`item 'item)
-      (`node-property 'node-property)
-      (`planning 'property-drawer)
-      (`table-row 'table-row))))
+      ('item 'item)
+      ('node-property 'node-property)
+      ('planning 'property-drawer)
+      ('table-row 'table-row))))
 
 (defun org-element--parse-elements
     (beg end mode structure granularity visible-only acc)
@@ -5018,8 +5018,8 @@ the cache."
                lower element
                upper element)))))
     (pcase side
-      (`both (cons lower upper))
-      (`nil lower)
+      ('both (cons lower upper))
+      ('nil lower)
       (_ upper))))
 
 (defun org-element--cache-put (element)
@@ -5513,8 +5513,8 @@ that range.  See `after-change-functions' for more information."
         ;; case for headline editing: if a headline is modified but
         ;; not removed, do not extend.
         (when (pcase org-element--cache-change-warning
-                (`t t)
-                (`headline
+                ('t t)
+                ('headline
                  (not (and (org-with-limited-levels (org-at-heading-p))
                            (= (line-end-position) bottom))))
                 (_
index e291b521f9001e07b101a7104b6172d30f81769c..0dae84951117b6b29b7da7a6d3f85e1bae32f5e1 100644 (file)
@@ -38,7 +38,7 @@
 (defun org-entities--user-safe-p (v)
   "Non-nil if V is a safe value for `org-entities-user'."
   (pcase v
-    (`nil t)
+    ('nil t)
     (`(,(and (pred stringp)
             (pred (string-match-p "\\`[a-zA-Z][a-zA-Z0-9]*\\'")))
        ,(pred stringp) ,(pred booleanp) ,(pred stringp)
index a53b343efb416792eb7d95e209adcc7e8b3112a9..34087bf21be0f4ac58a12dc4ae358f6d63bc052d 100644 (file)
@@ -126,14 +126,14 @@ If `org-store-link' was called with a prefix arg the meaning of
 (defun org-gnus-store-link ()
   "Store a link to a Gnus folder or message."
   (pcase major-mode
-    (`gnus-group-mode
+    ('gnus-group-mode
      (let ((group (gnus-group-group-name)))
        (when group
         (org-store-link-props :type "gnus" :group group)
         (let ((description (org-gnus-group-link group)))
           (org-add-link-props :link description :description description)
           description))))
-    ((or `gnus-summary-mode `gnus-article-mode)
+    ((or 'gnus-summary-mode 'gnus-article-mode)
      (let* ((group
             (pcase (gnus-find-method-for-group gnus-newsgroup-name)
               (`(nnvirtual . ,_)
@@ -176,7 +176,7 @@ If `org-store-link' was called with a prefix arg the meaning of
             (description (org-email-link-description)))
         (org-add-link-props :link link :description description)
         link)))
-    (`message-mode
+    ('message-mode
      (setq org-store-link-plist nil)   ;reset
      (save-excursion
        (save-restriction
index bf4e998199e38248193a81f1c45044390a51e8c4..a0bf7b7379ffed7a2bf6feea1a7d49344804d800 100644 (file)
@@ -301,8 +301,8 @@ When optional argument HEADING is non-nil, assume line is at
 a heading.  Moreover, if is is `inlinetask', the first star will
 have `org-warning' face."
   (let* ((line (aref (pcase heading
-                      (`nil org-indent--text-line-prefixes)
-                      (`inlinetask org-indent--inlinetask-line-prefixes)
+                      ('nil org-indent--text-line-prefixes)
+                      ('inlinetask org-indent--inlinetask-line-prefixes)
                       (_ org-indent--heading-line-prefixes))
                     level))
         (wrap
index 6dde36ceba1f22cfc113b6a318e49d35980b7974..390db209d30d93b527ac87467088e3649c05b91d 100644 (file)
@@ -133,12 +133,12 @@ See `org-link-parameters' for details about PATH, DESC and FORMAT."
         (manual (car parts))
         (node (or (nth 1 parts) "Top")))
     (pcase format
-      (`html
+      ('html
        (format "<a href=\"%s#%s\">%s</a>"
               (org-info-map-html-url manual)
               (org-info--expand-node-name node)
               (or desc path)))
-      (`texinfo
+      ('texinfo
        (let ((title (or desc "")))
         (format "@ref{%s,%s,,%s,}" node title manual)))
       (_ nil))))
index 08fc268d0d7843a2a3af5ce2e05bece2b466bf0e..8604e28e22e79c926e245273e55df6df0a3b69c8 100644 (file)
@@ -325,14 +325,14 @@ If the task has an end part, also demote it."
   "Hide inline tasks in buffer when STATE is `contents' or `children'.
 This function is meant to be used in `org-cycle-hook'."
   (pcase state
-    (`contents
+    ('contents
      (let ((regexp (org-inlinetask-outline-regexp)))
        (save-excursion
         (goto-char (point-min))
         (while (re-search-forward regexp nil t)
           (org-inlinetask-toggle-visibility)
           (org-inlinetask-goto-end)))))
-    (`children
+    ('children
      (save-excursion
        (while
           (or (org-inlinetask-at-task-p)
index 9fcb17a2db6f7d9984f015d8e1f7e2108621527c..e719ef8a5b254acc8994764c02da7864e69379f4 100644 (file)
@@ -427,7 +427,7 @@ instead"
       (lambda (datum)
        (let ((key (org-element-property :key datum)))
          (pcase (org-element-type datum)
-           (`keyword
+           ('keyword
             (let ((value (org-element-property :value datum)))
               (and (string= key "PROPERTY")
                    (string-match deprecated-re value)
@@ -435,7 +435,7 @@ instead"
                          (format "Deprecated syntax for \"%s\".  \
 Use header-args instead"
                                  (match-string-no-properties 1 value))))))
-           (`node-property
+           ('node-property
             (and (member-ignore-case key deprecated-babel-properties)
                  (list
                   (org-element-property :begin datum)
@@ -789,11 +789,11 @@ Use \"export %s\" instead"
       (let ((name (org-trim (match-string-no-properties 0)))
            (element (org-element-at-point)))
        (pcase (org-element-type element)
-         ((or `drawer `property-drawer)
+         ((or 'drawer 'property-drawer)
           (goto-char (org-element-property :end element))
           nil)
-         ((or `comment-block `example-block `export-block `src-block
-              `verse-block)
+         ((or 'comment-block 'example-block 'export-block 'src-block
+              'verse-block)
           nil)
          (_
           (push (list (line-beginning-position)
@@ -920,7 +920,7 @@ Use \"export %s\" instead"
                                      node-property src-block)
       (lambda (datum)
        (pcase (org-element-type datum)
-         ((or `babel-call `inline-babel-call)
+         ((or 'babel-call 'inline-babel-call)
           (funcall verify
                    datum
                    nil
@@ -928,13 +928,13 @@ Use \"export %s\" instead"
                               (list
                                (org-element-property :inside-header datum)
                                (org-element-property :end-header datum)))))
-         (`inline-src-block
+         ('inline-src-block
           (funcall verify
                    datum
                    (org-element-property :language datum)
                    (org-babel-parse-header-arguments
                     (org-element-property :parameters datum))))
-         (`keyword
+         ('keyword
           (when (string= (org-element-property :key datum) "PROPERTY")
             (let ((value (org-element-property :value datum)))
               (when (string-match "\\`header-args\\(?::\\(\\S-+\\)\\)?\\+? *"
@@ -944,7 +944,7 @@ Use \"export %s\" instead"
                          (match-string 1 value)
                          (org-babel-parse-header-arguments
                           (substring value (match-end 0))))))))
-         (`node-property
+         ('node-property
           (let ((key (org-element-property :key datum)))
             (when (let ((case-fold-search t))
                     (string-match "\\`HEADER-ARGS\\(?::\\(\\S-+\\)\\)?\\+?"
@@ -954,7 +954,7 @@ Use \"export %s\" instead"
                        (match-string 1 key)
                        (org-babel-parse-header-arguments
                         (org-element-property :value datum))))))
-         (`src-block
+         ('src-block
           (funcall verify
                    datum
                    (org-element-property :language datum)
@@ -980,13 +980,13 @@ Use \"export %s\" instead"
                (org-babel-parse-header-arguments
                 (org-trim
                  (pcase type
-                   (`src-block
+                   ('src-block
                     (mapconcat
                      #'identity
                      (cons (org-element-property :parameters datum)
                            (org-element-property :header datum))
                      " "))
-                   (`inline-src-block
+                   ('inline-src-block
                     (or (org-element-property :parameters datum) ""))
                    (_
                     (concat
@@ -1065,9 +1065,9 @@ Use \"export %s\" instead"
 \\{org-lint--report-mode-map}"
   (setf tabulated-list-format
        `[("Line" 6
-          (lambda (a b)
-            (< (string-to-number (aref (cadr a) 0))
-               (string-to-number (aref (cadr b) 0))))
+          ,(lambda (a b)
+             (< (string-to-number (aref (cadr a) 0))
+                (string-to-number (aref (cadr b) 0))))
           :right-align t)
          ("Trust" 5 t)
          ("Warning" 0 t)])
@@ -1207,8 +1207,8 @@ ARG can also be a list of checker names, as symbols, to run."
     (message "Org linting process starting..."))
   (let ((checkers
         (pcase arg
-          (`nil org-lint--checkers)
-          (`(4)
+          ('nil org-lint--checkers)
+          ('(4)
            (let ((category
                   (completing-read
                    "Checker category: "
@@ -1218,7 +1218,7 @@ ARG can also be a list of checker names, as symbols, to run."
               (lambda (c)
                 (assoc-string (org-lint-checker-categories c) category))
               org-lint--checkers)))
-          (`(16)
+          ('(16)
            (list
             (let ((name (completing-read
                          "Checker name: "
index 1f51809f1cef87fc01aa0ccba5772a6b20e7e3f6..b54d4aa2e5da8541a79756f4b9c8a9fba72046ee 100644 (file)
@@ -3438,15 +3438,15 @@ PARAMS is a plist used to tweak the behavior of the transcoder."
             (start (and (not splice)
                         (org-list--generic-eval
                          (pcase type
-                           (`ordered ostart)
-                           (`unordered ustart)
+                           ('ordered ostart)
+                           ('unordered ustart)
                            (_ dstart))
                          depth)))
             (end (and (not splice)
                       (org-list--generic-eval
                        (pcase type
-                         (`ordered oend)
-                         (`unordered uend)
+                         ('ordered oend)
+                         ('unordered uend)
                          (_ dend))
                        depth))))
        ;; Make sure trailing newlines in END appear in the output by
@@ -3485,7 +3485,7 @@ PARAMS is a plist used to tweak the behavior of the transcoder."
             (separator (and (org-export-get-next-element item info)
                             (org-list--generic-eval isep type depth)))
             (closing (pcase (org-list--generic-eval iend type depth)
-                       ((or `nil "") "\n")
+                       ((or 'nil "") "\n")
                        ((and (guard separator) s)
                         (if (equal (substring s -1) "\n") s (concat s "\n")))
                        (s s))))
@@ -3510,9 +3510,9 @@ PARAMS is a plist used to tweak the behavior of the transcoder."
                             (or dtstart dtend ddstart ddend)))
                    (concat
                     (pcase (org-element-property :checkbox item)
-                      (`on cbon)
-                      (`off cboff)
-                      (`trans cbtrans))
+                      ('on cbon)
+                      ('off cboff)
+                      ('trans cbtrans))
                     (and tag
                          (concat dtstart
                                  (if backend
@@ -3582,8 +3582,8 @@ with overruling parameters for `org-list-to-generic'."
 LIST is as returned by `org-list-to-lisp'.  PARAMS is a property
 list with overruling parameters for `org-list-to-generic'."
   (let* ((blank (pcase (cdr (assq 'heading org-blank-before-new-entry))
-                 (`t t)
-                 (`auto (save-excursion
+                 ('t t)
+                 ('auto (save-excursion
                           (org-with-limited-levels (outline-previous-heading))
                           (org-previous-line-empty-p)))))
         (level (org-reduced-level (or (org-current-level) 0)))
index 5a10b59b1ebdebbd57ed7388803f3df611f98844..74de498e88e41d23c7fe8245ff9ede3b4fddcc34 100644 (file)
@@ -416,7 +416,7 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:"
    (let ((kwds org-todo-keywords-1))
      (org-mouse-keyword-menu
       kwds
-      `(lambda (kwd) (org-todo kwd))
+      (lambda (kwd) (org-todo kwd))
       (lambda (kwd) (equal state kwd))))))
 
 (defun org-mouse-tag-menu ()           ;todo
@@ -461,11 +461,11 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:"
 
 (defun org-mouse-agenda-type (type)
   (pcase type
-    (`tags "Tags: ")
-    (`todo "TODO: ")
-    (`tags-tree "Tags tree: ")
-    (`todo-tree "TODO tree: ")
-    (`occur-tree "Occur tree: ")
+    ('tags "Tags: ")
+    ('todo "TODO: ")
+    ('tags-tree "Tags tree: ")
+    ('todo-tree "TODO tree: ")
+    ('occur-tree "Occur tree: ")
     (_ "Agenda command ???")))
 
 (defun org-mouse-list-options-menu (alloptions &optional function)
index ebd7af42a852349b4c90b9c1091b5ddb5a06cbeb..38a81f68b11cfe7132e6c492361322d923672a65 100644 (file)
@@ -200,9 +200,9 @@ manner suitable for prepending to a user-specified script."
         (y-labels (plist-get params :ylabels))
         (plot-str "'%s' using %s%d%s with %s title '%s'")
         (plot-cmd (pcase type
-                    (`2d "plot")
-                    (`3d "splot")
-                    (`grid "splot")))
+                    ('2d "plot")
+                    ('3d "splot")
+                    ('grid "splot")))
         (script "reset")
         ;; ats = add-to-script
         (ats (lambda (line) (setf script (concat script "\n" line))))
@@ -211,9 +211,9 @@ manner suitable for prepending to a user-specified script."
       (funcall ats (format "set term %s" (file-name-extension file)))
       (funcall ats (format "set output '%s'" file)))
     (pcase type                                ; type
-      (`2d ())
-      (`3d (when map (funcall ats "set map")))
-      (`grid (funcall ats (if map "set pm3d map" "set pm3d"))))
+      ('2d ())
+      ('3d (when map (funcall ats "set map")))
+      ('grid (funcall ats (if map "set pm3d map" "set pm3d"))))
     (when title (funcall ats (format "set title '%s'" title))) ; title
     (mapc ats lines)                                          ; line
     (dolist (el sets) (funcall ats (format "set %s" el)))      ; set
@@ -239,7 +239,7 @@ manner suitable for prepending to a user-specified script."
                               "%Y-%m-%d-%H:%M:%S") "\"")))
     (unless preface
       (pcase type                      ; plot command
-       (`2d (dotimes (col num-cols)
+       ('2d (dotimes (col num-cols)
               (unless (and (eq type '2d)
                            (or (and ind (equal (1+ col) ind))
                                (and deps (not (member (1+ col) deps)))))
@@ -255,10 +255,10 @@ manner suitable for prepending to a user-specified script."
                                (or (nth col col-labels)
                                    (format "%d" (1+ col))))
                        plot-lines)))))
-       (`3d
+       ('3d
         (setq plot-lines (list (format "'%s' matrix with %s title ''"
                                        data-file with))))
-       (`grid
+       ('grid
         (setq plot-lines (list (format "'%s' with %s title ''"
                                        data-file with)))))
       (funcall ats
@@ -303,9 +303,9 @@ line directly before or after the table."
                        (setf params (org-plot/collect-options params))))
       ;; Dump table to datafile (very different for grid).
       (pcase (plist-get params :plot-type)
-       (`2d   (org-plot/gnuplot-to-data table data-file params))
-       (`3d   (org-plot/gnuplot-to-data table data-file params))
-       (`grid (let ((y-labels (org-plot/gnuplot-to-grid-data
+       ('2d   (org-plot/gnuplot-to-data table data-file params))
+       ('3d   (org-plot/gnuplot-to-data table data-file params))
+       ('grid (let ((y-labels (org-plot/gnuplot-to-grid-data
                                table data-file params)))
                 (when y-labels (plist-put params :ylabels y-labels)))))
       ;; Check for timestamp ind column.
index 829354c0d56cdedf42b1e19135a26de3d0227b40..cf746a48bc728dcf3073d803aa00221e06607c49 100644 (file)
@@ -742,24 +742,24 @@ If BUFFER is non-nil, test it instead."
 
 (defun org-src-switch-to-buffer (buffer context)
   (pcase org-src-window-setup
-    (`current-window (pop-to-buffer-same-window buffer))
-    (`other-window
+    ('current-window (pop-to-buffer-same-window buffer))
+    ('other-window
      (switch-to-buffer-other-window buffer))
-    (`other-frame
+    ('other-frame
      (pcase context
-       (`exit
+       ('exit
        (let ((frame (selected-frame)))
          (switch-to-buffer-other-frame buffer)
          (delete-frame frame)))
-       (`save
+       ('save
        (kill-buffer (current-buffer))
        (pop-to-buffer-same-window buffer))
        (_ (switch-to-buffer-other-frame buffer))))
-    (`reorganize-frame
+    ('reorganize-frame
      (when (eq context 'edit) (delete-other-windows))
      (org-switch-to-buffer-other-window buffer)
      (when (eq context 'exit) (delete-other-windows)))
-    (`switch-invisibly (set-buffer buffer))
+    ('switch-invisibly (set-buffer buffer))
     (_
      (message "Invalid value %s for `org-src-window-setup'"
              org-src-window-setup)
index dcf743036373a4af88493ead2e53321860b79a7d..f8559d04ef8d0b4751c4af73e011a45e90453650 100644 (file)
@@ -5127,7 +5127,7 @@ information."
        ;; Make sure that contents are exported as Org data when :raw
        ;; parameter is non-nil.
        ,(when (and backend (plist-get params :raw))
-         `(setq contents
+         '(setq contents
                 ;; Since we don't know what are the pseudo object
                 ;; types defined in backend, we cannot pass them to
                 ;; `org-element-interpret-data'.  As a consequence,
index 873ae6b820910c057ae36125b024ba01b34407de..4ead31b499c1b3bc6fa8b3549187a84b1e3bdb02 100644 (file)
@@ -5236,12 +5236,12 @@ When optional argument SKIP-KEY is non-nil, skip selection keys
 next to tags."
   (mapconcat (lambda (token)
               (pcase token
-                (`(:startgroup) "{")
-                (`(:endgroup) "}")
-                (`(:startgrouptag) "[")
-                (`(:endgrouptag) "]")
-                (`(:grouptags) ":")
-                (`(:newline) "\\n")
+                ('(:startgroup) "{")
+                ('(:endgroup) "}")
+                ('(:startgrouptag) "[")
+                ('(:endgrouptag) "]")
+                ('(:grouptags) ":")
+                ('(:newline) "\\n")
                 ((and
                   (guard (not skip-key))
                   `(,(and tag (pred stringp)) . ,(and key (pred characterp))))
@@ -5266,7 +5266,7 @@ a string, summarizing TAGS, as a list of strings."
         (when (eq group-status 'append)
           (push (nreverse current-group) groups))
         (setq group-status nil current-group nil))
-       (`(:grouptags) (setq group-status 'append))
+       ('(:grouptags) (setq group-status 'append))
        ((and `(,tag . ,_) (guard group-status))
         (if (eq group-status 'append) (push tag current-group)
           (setq current-group (list tag))))
@@ -7744,7 +7744,7 @@ When NEXT is non-nil, check the next line instead."
 When optional argument PARENT is non-nil, consider parent
 headline instead of current one."
   (pcase (assq 'heading org-blank-before-new-entry)
-    (`(heading . auto)
+    ('(heading . auto)
      (save-excursion
        (org-with-limited-levels
         (unless (and (org-before-first-heading-p)
@@ -7884,7 +7884,7 @@ When NO-COMMENT is non-nil, don't include COMMENT string."
       (let ((todo (and (not no-todo) (match-string 2)))
            (priority (and (not no-priority) (match-string 3)))
            (headline (pcase (match-string 4)
-                       (`nil "")
+                       ('nil "")
                        ((and (guard no-comment) h)
                         (replace-regexp-in-string
                          (eval-when-compile
@@ -8768,7 +8768,7 @@ with the original repeater."
           (template (buffer-substring beg end))
           (shift-n (and doshift (string-to-number (match-string 1 shift))))
           (shift-what (pcase (and doshift (match-string 2 shift))
-                        (`nil nil)
+                        ('nil nil)
                         ("d" 'day)
                         ("w" (setq shift-n (* 7 shift-n)) 'day)
                         ("m" 'month)
@@ -9690,7 +9690,7 @@ active region."
                   (push (cons f (copy-sequence org-store-link-plist))
                         results-alist)))
               (pcase results-alist
-                (`nil nil)
+                ('nil nil)
                 (`((,_ . ,_)) t)       ;single choice: nothing to do
                 (`((,name . ,_) . ,_)
                  ;; Reinstate link plist associated to the chosen
@@ -11552,13 +11552,13 @@ order.")
                                #'identity
                                (append
                                 (pcase org-refile-use-outline-path
-                                  (`file (list (file-name-nondirectory
+                                  ('file (list (file-name-nondirectory
                                                 (buffer-file-name
                                                  (buffer-base-buffer)))))
-                                  (`full-file-path
+                                  ('full-file-path
                                    (list (buffer-file-name
                                           (buffer-base-buffer))))
-                                  (`buffer-name
+                                  ('buffer-name
                                    (list (buffer-name
                                           (buffer-base-buffer))))
                                   (_ nil))
@@ -13251,14 +13251,14 @@ TYPE is either `deadline' or `scheduled'.  See `org-deadline' or
                                          old-date)
                            (match-string 1 old-date)))))
     (pcase arg
-      (`(4)
+      ('(4)
        (when (and old-date log)
         (org-add-log-setup (if deadline? 'deldeadline 'delschedule)
                            nil old-date log))
        (org-remove-timestamp-with-keyword keyword)
        (message (if deadline? "Item no longer has a deadline."
                  "Item is no longer scheduled.")))
-      (`(16)
+      ('(16)
        (save-excursion
         (org-back-to-heading t)
         (let ((regexp (if deadline? org-deadline-time-regexp
@@ -14779,8 +14779,8 @@ If ONOFF is `on' or `off', don't toggle but set to this state."
               (nreverse (org-split-string tags ":")))))
          res)
       (pcase onoff
-       (`off (setq current (delete tag current)))
-       ((or `on (guard (not (member tag current))))
+       ('off (setq current (delete tag current)))
+       ((or 'on (guard (not (member tag current))))
         (setq res t)
         (cl-pushnew tag current :test #'equal))
        (_ (setq current (delete tag current))))
@@ -14830,7 +14830,7 @@ If DATA is nil or the empty string, all tags are removed."
   (interactive "sTags: ")
   (let ((data
         (pcase (if (stringp data) (org-trim data) data)
-          ((or `nil "") nil)
+          ((or 'nil "") nil)
           ((pred listp) (format ":%s:" (mapconcat #'identity data ":")))
           ((pred stringp)
            (format ":%s:"
@@ -17207,9 +17207,9 @@ The internal representation needed by the calendar is (month day year).
 This is a wrapper to handle the brain-dead convention in calendar that
 user function argument order change dependent on argument order."
   (pcase calendar-date-style
-    (`american (list arg1 arg2 arg3))
-    (`european (list arg2 arg1 arg3))
-    (`iso (list arg2 arg3 arg1))))
+    ('american (list arg1 arg2 arg3))
+    ('european (list arg2 arg1 arg3))
+    ('iso (list arg2 arg3 arg1))))
 
 (defun org-eval-in-calendar (form &optional keepdate)
   "Eval FORM in the calendar window and return to current window.
@@ -18015,14 +18015,14 @@ When SUPPRESS-TMP-DELAY is non-nil, suppress delays like \"--2d\"."
         (pcase origin-cat
           ;; `day' category ends before `hour' if any, or at the end
           ;; of the day name.
-          (`day (min (or (match-beginning 7) (1- (match-end 5))) origin))
-          (`hour (min (match-end 7) origin))
-          (`minute (min (1- (match-end 8)) origin))
+          ('day (min (or (match-beginning 7) (1- (match-end 5))) origin))
+          ('hour (min (match-end 7) origin))
+          ('minute (min (1- (match-end 8)) origin))
           ((pred integerp) (min (1- (match-end 0)) origin))
           ;; Point was right after the time-stamp.  However, the
           ;; time-stamp length might have changed, so refer to
           ;; (match-end 0) instead.
-          (`after (match-end 0))
+          ('after (match-end 0))
           ;; `year' and `month' have both fixed size: point couldn't
           ;; have moved into another part.
           (_ origin))))
@@ -20709,7 +20709,7 @@ Otherwise, return a user error."
   (let ((element (org-element-at-point)))
     (barf-if-buffer-read-only)
     (pcase (org-element-type element)
-      (`src-block
+      ('src-block
        (if (not arg) (org-edit-src-code)
         (let* ((info (org-babel-get-src-block-info))
                (lang (nth 0 info))
@@ -20722,7 +20722,7 @@ Otherwise, return a user error."
             (switch-to-buffer
              (funcall (intern (concat "org-babel-prep-session:" lang))
                       session params))))))
-      (`keyword
+      ('keyword
        (if (member (org-element-property :key element) '("INCLUDE" "SETUPFILE"))
            (org-open-link-from-string
            (format "[[%s]]"
@@ -20738,24 +20738,24 @@ Otherwise, return a user error."
                              (match-string 0 value))
                             (t (user-error "No valid file specified")))))))
          (user-error "No special environment to edit here")))
-      (`table
+      ('table
        (if (eq (org-element-property :type element) 'table.el)
            (org-edit-table.el)
          (call-interactively 'org-table-edit-formulas)))
       ;; Only Org tables contain `table-row' type elements.
-      (`table-row (call-interactively 'org-table-edit-formulas))
-      (`example-block (org-edit-src-code))
-      (`export-block (org-edit-export-block))
-      (`fixed-width (org-edit-fixed-width-region))
-      (`latex-environment (org-edit-latex-environment))
+      ('table-row (call-interactively 'org-table-edit-formulas))
+      ('example-block (org-edit-src-code))
+      ('export-block (org-edit-export-block))
+      ('fixed-width (org-edit-fixed-width-region))
+      ('latex-environment (org-edit-latex-environment))
       (_
        ;; No notable element at point.  Though, we may be at a link or
        ;; a footnote reference, which are objects.  Thus, scan deeper.
        (let ((context (org-element-context element)))
         (pcase (org-element-type context)
-          (`footnote-reference (org-edit-footnote-reference))
-          (`inline-src-block (org-edit-inline-src-code))
-          (`link (call-interactively #'ffap))
+          ('footnote-reference (org-edit-footnote-reference))
+          ('inline-src-block (org-edit-inline-src-code))
+          ('link (call-interactively #'ffap))
           (_ (user-error "No special environment to edit here"))))))))
 
 (defvar org-table-coordinate-overlays) ; defined in org-table.el
@@ -20842,7 +20842,7 @@ This command does many different things, depending on context:
       ;; a src block.  Hence, we first check if point is in such
       ;; a block and then if it is at a blank line.
       (pcase type
-       ((or `inline-src-block `src-block)
+       ((or 'inline-src-block 'src-block)
         (unless org-babel-no-eval-on-ctrl-c-ctrl-c
           (org-babel-eval-wipe-error-buffer)
           (org-babel-execute-src-block
@@ -20852,22 +20852,22 @@ This command does many different things, depending on context:
             (user-error
              (substitute-command-keys
               "`\\[org-ctrl-c-ctrl-c]' can do nothing useful here"))))
-       ((or `babel-call `inline-babel-call)
+       ((or 'babel-call 'inline-babel-call)
         (let ((info (org-babel-lob-get-info context)))
           (when info (org-babel-execute-src-block nil info))))
-       (`clock (org-clock-update-time-maybe))
-       (`dynamic-block
+       ('clock (org-clock-update-time-maybe))
+       ('dynamic-block
         (save-excursion
           (goto-char (org-element-property :post-affiliated context))
           (org-update-dblock)))
-       (`footnote-definition
+       ('footnote-definition
         (goto-char (org-element-property :post-affiliated context))
         (call-interactively 'org-footnote-action))
-       (`footnote-reference (call-interactively #'org-footnote-action))
-       ((or `headline `inlinetask)
+       ('footnote-reference (call-interactively #'org-footnote-action))
+       ((or 'headline 'inlinetask)
         (save-excursion (goto-char (org-element-property :begin context))
                         (call-interactively #'org-set-tags)))
-       (`item
+       ('item
         ;; At an item: `C-u C-u' sets checkbox to "[-]"
         ;; unconditionally, whereas `C-u' will toggle its presence.
         ;; Without a universal argument, if the item has a checkbox,
@@ -20905,7 +20905,7 @@ This command does many different things, depending on context:
             (when block-item
               (message "Checkboxes were removed due to empty box at line %d"
                        (org-current-line block-item))))))
-       (`keyword
+       ('keyword
         (let ((org-inhibit-startup-visibility-stuff t)
               (org-startup-align-all-tables nil))
           (when (boundp 'org-table-coordinate-overlays)
@@ -20913,7 +20913,7 @@ This command does many different things, depending on context:
             (setq org-table-coordinate-overlays nil))
           (org-save-outline-visibility 'use-markers (org-mode-restart)))
         (message "Local setup has been refreshed"))
-       (`plain-list
+       ('plain-list
         ;; At a plain list, with a double C-u argument, set
         ;; checkboxes of each item to "[-]", whereas a single one
         ;; will toggle their presence according to the state of the
@@ -20946,13 +20946,13 @@ This command does many different things, depending on context:
            struct (org-list-parents-alist struct) old-struct)
           (org-update-checkbox-count-maybe)
           (save-excursion (goto-char beginm) (org-list-send-list 'maybe))))
-       ((or `property-drawer `node-property)
+       ((or 'property-drawer 'node-property)
         (call-interactively #'org-property-action))
-       (`radio-target
+       ('radio-target
         (call-interactively #'org-update-radio-target-regexp))
-       (`statistics-cookie
+       ('statistics-cookie
         (call-interactively #'org-update-statistics-cookies))
-       ((or `table `table-cell `table-row)
+       ((or 'table 'table-cell 'table-row)
         ;; At a table, recalculate every field and align it.  Also
         ;; send the table if necessary.  If the table has
         ;; a `table.el' type, just give up.  At a table row or cell,
@@ -20975,9 +20975,9 @@ Use `\\[org-edit-special]' to edit table.el tables"))
             (cond (arg (call-interactively #'org-table-recalculate))
                   ((org-table-maybe-recalculate-line))
                   (t (org-table-align))))))
-       ((or `timestamp (and `planning (guard (org-at-timestamp-p 'lax))))
+       ((or 'timestamp (and 'planning (guard (org-at-timestamp-p 'lax))))
         (org-timestamp-change 0 'day))
-       ((and `nil (guard (org-at-heading-p)))
+       ((and 'nil (guard (org-at-heading-p)))
         ;; When point is on an unsupported object type, we can miss
         ;; the fact that it also is at a heading.  Handle it here.
         (call-interactively #'org-set-tags))
index c3ccb596aa3cd45b45aa4e916f068b728032e3c3..5b9db49715049c80e9945123dea773b050f20f89 100644 (file)
@@ -549,8 +549,8 @@ INFO is a plist used as a communication channel."
 INFO is a plist used as a communication channel."
   (pcase (org-element-type element)
     ;; Elements with an absolute width: `headline' and `inlinetask'.
-    (`inlinetask (plist-get info :ascii-inlinetask-width))
-    (`headline
+    ('inlinetask (plist-get info :ascii-inlinetask-width))
+    ('headline
      (- (plist-get info :ascii-text-width)
         (let ((low-level-rank (org-export-low-level-p element info)))
           (if low-level-rank (* low-level-rank 2)
@@ -624,8 +624,8 @@ Return value is a symbol among `left', `center', `right' and
     (while (and (not justification)
                (setq element (org-element-property :parent element)))
       (pcase (org-element-type element)
-       (`center-block (setq justification 'center))
-       (`special-block
+       ('center-block (setq justification 'center))
+       ('special-block
         (let ((name (org-element-property :type element)))
           (cond ((string= name "JUSTIFYRIGHT") (setq justification 'right))
                 ((string= name "JUSTIFYLEFT") (setq justification 'left)))))))
@@ -724,8 +724,8 @@ caption keyword."
              element info nil 'org-ascii--has-caption-p))
            (title-fmt (org-ascii--translate
                        (pcase (org-element-type element)
-                         (`table "Table %d:")
-                         (`src-block "Listing %d:"))
+                         ('table "Table %d:")
+                         ('src-block "Listing %d:"))
                        info)))
        (org-ascii--fill-string
         (concat (format title-fmt reference)
@@ -890,8 +890,8 @@ If DATUM is a string, consider it to be a file name, per
 `org-export-resolve-id-link'.  INFO is the communication channel,
 as a plist."
   (pcase (org-element-type datum)
-    (`plain-text (format "See file %s" datum)) ;External file
-    (`headline
+    ('plain-text (format "See file %s" datum)) ;External file
+    ('headline
      (format (org-ascii--translate "See section %s" info)
             (if (org-export-numbered-headline-p datum info)
                 (mapconcat #'number-to-string
@@ -907,7 +907,7 @@ as a plist."
            (org-element-lineage datum
                                 '(headline paragraph src-block table) t)))
        (pcase (org-element-type enumerable)
-        (`headline
+        ('headline
          (format (org-ascii--translate "See section %s" info)
                  (if (org-export-numbered-headline-p enumerable info)
                      (mapconcat #'number-to-string number ".")
@@ -915,11 +915,11 @@ as a plist."
                     (org-element-property :title enumerable) info))))
         ((guard (not number))
          (org-ascii--translate "Unknown reference" info))
-        (`paragraph
+        ('paragraph
          (format (org-ascii--translate "See figure %s" info) number))
-        (`src-block
+        ('src-block
          (format (org-ascii--translate "See listing %s" info) number))
-        (`table
+        ('table
          (format (org-ascii--translate "See table %s" info) number))
         (_ (org-ascii--translate "Unknown reference" info)))))))
 
@@ -970,9 +970,9 @@ channel."
 INFO is a plist used as a communication channel."
   (let ((utf8p (eq (plist-get info :ascii-charset) 'utf-8)))
     (pcase (org-element-property :checkbox item)
-      (`on (if utf8p "☑ " "[X] "))
-      (`off (if utf8p "☠" "[ ] "))
-      (`trans (if utf8p "☒ " "[-] ")))))
+      ('on (if utf8p "☑ " "[X] "))
+      ('off (if utf8p "☠" "[ ] "))
+      ('trans (if utf8p "☒ " "[-] ")))))
 
 
 \f
@@ -1450,11 +1450,11 @@ contextual information."
          ;; First parent of ITEM is always the plain-list.  Get
          ;; `:type' property from it.
          (pcase list-type
-           (`descriptive
+           ('descriptive
             (concat checkbox
                     (org-export-data (org-element-property :tag item)
                                      info)))
-           (`ordered
+           ('ordered
             ;; Return correct number for ITEM, paying attention to
             ;; counters.
             (let* ((struct (org-element-property :structure item))
@@ -1586,8 +1586,8 @@ INFO is a plist holding contextual information."
                     (format " (%s)"
                             (org-ascii--describe-datum destination info)))))
          ;; External file.
-         (`plain-text destination)
-         (`headline
+         ('plain-text destination)
+         ('headline
           (if (org-export-numbered-headline-p destination info)
               (mapconcat #'number-to-string
                          (org-export-get-headline-number destination info)
index 6166a4ad0196c5068a67180b21f7bd3b58f06a02..dd61ad926cb4b400021e3675b958117e535a4683 100644 (file)
@@ -624,12 +624,12 @@ export back-end currently used."
                        (match-string 1 options)
                      default)))
          (pcase opt
-           (`path (setq template
+           ('path (setq template
                         (replace-regexp-in-string
                          "%SCRIPT_PATH" val template t t)))
-           (`sdepth (when (integerp (read val))
+           ('sdepth (when (integerp (read val))
                       (setq sdepth (min (read val) sdepth))))
-           (`tdepth (when (integerp (read val))
+           ('tdepth (when (integerp (read val))
                       (setq tdepth (min (read val) tdepth))))
            (_ (setq val
                     (cond
@@ -2739,19 +2739,19 @@ INFO is a plist holding contextual information.  See
        (extra-newline (if (and (org-string-nw-p contents) headline) "\n" "")))
     (concat
      (pcase type
-       (`ordered
+       ('ordered
        (let* ((counter term-counter-id)
               (extra (if counter (format " value=\"%s\"" counter) "")))
          (concat
           (format "<li%s%s>" class extra)
           (when headline (concat headline br)))))
-       (`unordered
+       ('unordered
        (let* ((id term-counter-id)
               (extra (if id (format " id=\"%s\"" id) "")))
          (concat
           (format "<li%s%s>" class extra)
           (when headline (concat headline br)))))
-       (`descriptive
+       ('descriptive
        (let* ((term term-counter-id))
          (setq term (or term "(no term)"))
          ;; Check-boxes in descriptive lists are associated to tag.
@@ -2763,9 +2763,9 @@ INFO is a plist holding contextual information.  See
      (and (org-string-nw-p contents) (org-trim contents))
      extra-newline
      (pcase type
-       (`ordered "</li>")
-       (`unordered "</li>")
-       (`descriptive "</dd>")))))
+       ('ordered "</li>")
+       ('unordered "</li>")
+       ('descriptive "</dd>")))))
 
 (defun org-html-item (item contents info)
   "Transcode an ITEM element from Org to HTML.
@@ -2902,8 +2902,8 @@ if its description is a single link targeting an image file."
           (cons 'plain-text org-element-all-objects)
         (lambda (obj)
           (pcase (org-element-type obj)
-            (`plain-text (org-string-nw-p obj))
-            (`link (if (= link-count 1) t
+            ('plain-text (org-string-nw-p obj))
+            ('link (if (= link-count 1) t
                      (cl-incf link-count)
                      (not (org-export-inline-image-p
                            obj (plist-get info :html-inline-image-rules)))))
@@ -2930,8 +2930,8 @@ images, set it to:
 
   (lambda (paragraph) (org-element-property :caption paragraph))"
   (let ((paragraph (pcase (org-element-type element)
-                    (`paragraph element)
-                    (`link (org-export-get-parent element)))))
+                    ('paragraph element)
+                    ('link (org-export-get-parent element)))))
     (and (eq (org-element-type paragraph) 'paragraph)
         (or (not (fboundp 'org-html-standalone-image-predicate))
             (funcall org-html-standalone-image-predicate paragraph))
@@ -2941,8 +2941,8 @@ images, set it to:
                 (cons 'plain-text org-element-all-objects)
               (lambda (obj)
                 (when (pcase (org-element-type obj)
-                        (`plain-text (org-string-nw-p obj))
-                        (`link (or (> (cl-incf link-count) 1)
+                        ('plain-text (org-string-nw-p obj))
+                        ('link (or (> (cl-incf link-count) 1)
                                    (not (org-html-inline-image-p obj info))))
                         (_ t))
                   (throw 'exit nil)))
@@ -3046,7 +3046,7 @@ INFO is a plist holding contextual information.  See
                           (org-export-resolve-id-link link info))))
        (pcase (org-element-type destination)
          ;; ID link points to an external file.
-         (`plain-text
+         ('plain-text
           (let ((fragment (concat "ID-" path))
                 ;; Treat links to ".org" files as ".html", if needed.
                 (path (funcall link-org-files-as-html-maybe
@@ -3054,13 +3054,13 @@ INFO is a plist holding contextual information.  See
             (format "<a href=\"%s#%s\"%s>%s</a>"
                     path fragment attributes (or desc destination))))
          ;; Fuzzy link points nowhere.
-         (`nil
+         ('nil
           (format "<i>%s</i>"
                   (or desc
                       (org-export-data
                        (org-element-property :raw-link link) info))))
          ;; Link points to a headline.
-         (`headline
+         ('headline
           (let ((href (or (org-element-property :CUSTOM_ID destination)
                           (org-export-get-reference destination info)))
                 ;; What description to use?
@@ -3189,9 +3189,9 @@ the plist used as a communication channel."
 CONTENTS is the contents of the list.  INFO is a plist holding
 contextual information."
   (let* ((type (pcase (org-element-property :type plain-list)
-                (`ordered "ol")
-                (`unordered "ul")
-                (`descriptive "dl")
+                ('ordered "ol")
+                ('unordered "ul")
+                ('descriptive "dl")
                 (other (error "Unknown HTML list type: %s" other))))
         (class (format "org-%s" type))
         (attributes (org-export-read-attribute :attr_html plain-list)))
index 5aaaf991fdea19291aeecd8ac2d4471041e2a466..332e42b7b9911e6367a979c4926e00ad2ba016fa 100644 (file)
@@ -2434,7 +2434,7 @@ used as a communication channel."
                                                   nil t))))
     ;; Return proper string, depending on FLOAT.
     (pcase float
-      (`wrap (format "\\begin{wrapfigure}%s
+      ('wrap (format "\\begin{wrapfigure}%s
 %s%s
 %s%s
 %s\\end{wrapfigure}"
@@ -2443,7 +2443,7 @@ used as a communication channel."
                     (if center "\\centering" "")
                     comment-include image-code
                     (if caption-above-p "" caption)))
-      (`sideways (format "\\begin{sidewaysfigure}
+      ('sideways (format "\\begin{sidewaysfigure}
 %s%s
 %s%s
 %s\\end{sidewaysfigure}"
@@ -2451,7 +2451,7 @@ used as a communication channel."
                         (if center "\\centering" "")
                         comment-include image-code
                         (if caption-above-p "" caption)))
-      (`multicolumn (format "\\begin{figure*}%s
+      ('multicolumn (format "\\begin{figure*}%s
 %s%s
 %s%s
 %s\\end{figure*}"
@@ -2460,7 +2460,7 @@ used as a communication channel."
                            (if center "\\centering" "")
                            comment-include image-code
                            (if caption-above-p "" caption)))
-      (`figure (format "\\begin{figure}%s
+      ('figure (format "\\begin{figure}%s
 %s%s
 %s%s
 %s\\end{figure}"
@@ -2767,12 +2767,12 @@ containing export options.  Modify DATA by side-effect and return it."
         ;; Non-nil when OBJ can be added to the latex math block B.
         (lambda (obj b)
           (pcase (org-element-type obj)
-            (`entity (org-element-property :latex-math-p obj))
-            (`latex-fragment
+            ('entity (org-element-property :latex-math-p obj))
+            ('latex-fragment
              (let ((value (org-element-property :value obj)))
                (or (string-prefix-p "\\(" value)
                    (string-match-p "\\`\\$[^$]" value))))
-            ((and type (or `subscript `superscript))
+            ((and type (or 'subscript 'superscript))
              (not (memq type (mapcar #'org-element-type
                                      (org-element-contents b)))))))))
     (org-element-map data '(entity latex-fragment subscript superscript)
index 2bc6392dabb4f036bccaaaf7a07e4322d8f0d28a..aae9c5838ea0aedd5edfe81a1b9ddc95dd7f2a33 100644 (file)
@@ -552,9 +552,9 @@ contextual information."
   (let* ((bullet (org-element-property :bullet item))
          (type (org-element-property :type (org-element-property :parent item)))
          (checkbox (pcase (org-element-property :checkbox item)
-                     (`on "\\o'\\(sq\\(mu'")
-                     (`off "\\(sq ")
-                     (`trans "\\o'\\(sq\\(mi'")))
+                     ('on "\\o'\\(sq\\(mu'")
+                     ('off "\\(sq ")
+                     ('trans "\\o'\\(sq\\(mi'")))
 
          (tag (let ((tag (org-element-property :tag item)))
                 ;; Check-boxes must belong to the tag.
@@ -861,7 +861,7 @@ a communication channel."
            (push "|" alignment))
          (push
           (concat (pcase (org-export-table-cell-alignment cell info)
-                    (`left "l") (`right "r") (`center "c"))
+                    ('left "l") ('right "r") ('center "c"))
                   width
                   divider)
           alignment)
index c4da8fcb145e91123e7323ffe8b140eeb141a21d..a34b955dacfc2c7ce8a5c46f2355430327222a2c 100644 (file)
@@ -339,9 +339,9 @@ a communication channel."
     (concat bullet
            (make-string (- 4 (length bullet)) ? )
            (pcase (org-element-property :checkbox item)
-             (`on "[X] ")
-             (`trans "[-] ")
-             (`off "[ ] "))
+             ('on "[X] ")
+             ('trans "[-] ")
+             ('off "[ ] "))
            (let ((tag (org-element-property :tag item)))
              (and tag (format "**%s:** "(org-export-data tag info))))
            (and contents
@@ -400,11 +400,11 @@ a communication channel."
                             (org-export-resolve-fuzzy-link link info)
                           (org-export-resolve-id-link link info))))
        (pcase (org-element-type destination)
-         (`plain-text                  ; External file.
+         ('plain-text                  ; External file.
           (let ((path (funcall link-org-files-as-md destination)))
             (if (not contents) (format "<%s>" path)
               (format "[%s](%s)" contents path))))
-         (`headline
+         ('headline
           (format
            "[%s](#%s)"
            ;; Description.
index 1b5a7cc0c23775c9b020fa1f83f054c55235d3bd..b673d49899ba68203d3ef3a091f2d2bf2b030e10 100644 (file)
@@ -124,8 +124,8 @@ we make sure it is always called."
       (let ((first-child (car (org-element-contents h)))
            (new-section (org-element-create 'section)))
        (pcase (org-element-type first-child)
-         (`section nil)
-         (`nil (org-element-adopt-elements h new-section))
+         ('section nil)
+         ('nil (org-element-adopt-elements h new-section))
          (_ (org-element-insert-before new-section first-child))))))
   tree)
 
index 80ef239b679d4da6a8aea538af1704f533741e47..ff6723f407ddc90aa1f96f7f4dbb2d6288ce88bb 100644 (file)
@@ -618,7 +618,7 @@ files, when entire projects are published (see
         (project-plist (cdr project))
         (publishing-function
          (pcase (org-publish-property :publishing-function project)
-           (`nil (user-error "No publishing function chosen"))
+           ('nil (user-error "No publishing function chosen"))
            ((and f (pred listp)) f)
            (f (list f))))
         (base-dir
@@ -703,7 +703,7 @@ return a string.  Return value is a list as returned by
               (file-name-as-directory
                (org-publish-property :base-directory project)))))
     (pcase style
-      (`list
+      ('list
        (cons 'unordered
             (mapcar
              (lambda (f)
@@ -712,7 +712,7 @@ return a string.  Return value is a list as returned by
                               style
                               project)))
              files)))
-      (`tree
+      ('tree
        (letrec ((files-only (cl-remove-if #'directory-name-p files))
                (directories (cl-remove-if-not #'directory-name-p files))
                (subtree-to-list
@@ -778,7 +778,7 @@ Default for SITEMAP-FILENAME is `sitemap.org'."
            (let ((retval t))
              ;; First we sort files:
              (pcase sort-files
-               (`alphabetically
+               ('alphabetically
                 (let ((A (if (funcall org-file-p a)
                              (concat (file-name-directory a)
                                      (org-publish-find-title a project))
@@ -791,7 +791,7 @@ Default for SITEMAP-FILENAME is `sitemap.org'."
                         (if ignore-case
                             (not (string-lessp (upcase B) (upcase A)))
                           (not (string-lessp B A))))))
-               ((or `anti-chronologically `chronologically)
+               ((or 'anti-chronologically 'chronologically)
                 (let* ((adate (org-publish-find-date a project))
                        (bdate (org-publish-find-date b project))
                        (A (+ (ash (car adate) 16) (cadr adate)))
@@ -800,7 +800,7 @@ Default for SITEMAP-FILENAME is `sitemap.org'."
                         (if (eq sort-files 'chronologically)
                             (<= A B)
                           (>= A B)))))
-               (`nil nil)
+               ('nil nil)
                (_ (user-error "Invalid sort value %s" sort-files)))
              ;; Directory-wise wins:
              (when (memq sort-folders '(first last))
@@ -1104,9 +1104,9 @@ publishing directory."
                       "[[%s][%s]]"
                       ;; Destination.
                       (pcase (car target)
-                        (`nil (format "file:%s" file))
-                        (`id (format "id:%s" (cdr target)))
-                        (`custom-id (format "file:%s::#%s" file (cdr target)))
+                        ('nil (format "file:%s" file))
+                        ('id (format "id:%s" (cdr target)))
+                        ('custom-id (format "file:%s::#%s" file (cdr target)))
                         (_ (format "file:%s::*%s" file (cdr target))))
                       ;; Description.
                       (car (last entry)))))
index d877c9c63a2415fa25891bab19f114d38c912ff4..624d13aa06bc2b69f4a8f217ac76db9004b0e0a0 100644 (file)
@@ -452,10 +452,10 @@ This is used to choose a separator for constructs like \\verb."
 INFO is a plist used as a communication channel.  See
 `org-texinfo-text-markup-alist' for details."
   (pcase (cdr (assq markup org-texinfo-text-markup-alist))
-    (`nil text)                                ;no markup: return raw text
-    (`code (format "@code{%s}" (org-texinfo--sanitize-content text)))
-    (`samp (format "@samp{%s}" (org-texinfo--sanitize-content text)))
-    (`verb
+    ('nil text)                                ;no markup: return raw text
+    ('code (format "@code{%s}" (org-texinfo--sanitize-content text)))
+    ('samp (format "@samp{%s}" (org-texinfo--sanitize-content text)))
+    ('verb
      (let ((separator (org-texinfo--find-verb-separator text)))
        (format "@verb{%s%s%s}" separator text separator)))
     ;; Else use format string.
@@ -872,7 +872,7 @@ contextual information."
              unnumbered)
             ((org-export-numbered-headline-p headline info) numbered)
             (t unnumbered)))
-          (`nil 'plain-list)
+          ('nil 'plain-list)
           (_ (user-error "Invalid Texinfo class specification: %S" class))))
        (_ (user-error "Invalid Texinfo class specification: %S" class)))))))
 
@@ -993,7 +993,7 @@ contextual information."
                         (list tag))))))
     (format "%s\n%s"
            (pcase items
-             (`nil "@item")
+             ('nil "@item")
              (`(,item) (concat "@item " item))
              (`(,item . ,items)
               (concat "@item " item "\n"
@@ -1077,18 +1077,18 @@ INFO is a plist holding contextual information.  See
                 (org-export-resolve-fuzzy-link link info)
               (org-export-resolve-id-link link info))))
        (pcase (org-element-type destination)
-         (`nil
+         ('nil
           (format org-texinfo-link-with-unknown-path-format
                   (org-texinfo--sanitize-content path)))
          ;; Id link points to an external file.
-         (`plain-text
+         ('plain-text
           (if desc (format "@uref{file://%s,%s}" destination desc)
             (format "@uref{file://%s}" destination)))
-         ((or `headline
+         ((or 'headline
               ;; Targets within headlines cannot be turned into
               ;; @anchor{}, so we refer to the headline parent
               ;; directly.
-              (and `target
+              (and 'target
                    (guard (eq 'headline
                               (org-element-type
                                (org-element-property :parent destination))))))
@@ -1547,9 +1547,9 @@ information."
   (let ((value (org-texinfo-plain-text
                (org-timestamp-translate timestamp) info)))
     (pcase (org-element-property :type timestamp)
-      ((or `active `active-range)
+      ((or 'active 'active-range)
        (format (plist-get info :texinfo-active-timestamp-format) value))
-      ((or `inactive `inactive-range)
+      ((or 'inactive 'inactive-range)
        (format (plist-get info :texinfo-inactive-timestamp-format) value))
       (_ (format (plist-get info :texinfo-diary-timestamp-format) value)))))
 
index ea7d1dc81f0363b10148bd0a429e5b0e68c7b5bc..91637dd6351cf1a1c26d095fceb26edb96eaf6ee 100644 (file)
@@ -1954,8 +1954,8 @@ Return a string."
                 (progn ,@body)
               (org-link-broken
                (pcase (plist-get info :with-broken-links)
-                 (`nil (user-error "Unable to resolve link: %S" (nth 1 err)))
-                 (`mark (org-export-data
+                 ('nil (user-error "Unable to resolve link: %S" (nth 1 err)))
+                 ('mark (org-export-data
                          (format "[BROKEN LINK: %s]" (nth 1 err)) info))
                  (_ nil))))))
        (let* ((type (org-element-type data))
@@ -4278,7 +4278,7 @@ A search cell follows the pattern (TYPE . SEARCH) where
 A search cell is the internal representation of a fuzzy link.  It
 ignores white spaces and statistics cookies, if applicable."
   (pcase (org-element-type datum)
-    (`headline
+    ('headline
      (let ((title (split-string
                   (replace-regexp-in-string
                    "\\[[0-9]*\\(?:%\\|/[0-9]*\\)\\]" ""
@@ -4289,7 +4289,7 @@ ignores white spaces and statistics cookies, if applicable."
              (cons 'other title)
              (let ((custom-id (org-element-property :custom-id datum)))
                (and custom-id (cons 'custom-id custom-id)))))))
-    (`target
+    ('target
      (list (cons 'target (split-string (org-element-property :value datum)))))
     ((and (let name (org-element-property :name datum))
          (guard name))
index a54682fff224d6c4683b3ecfc0ebdab4883f4389..6379c708be5cd8ec2fc817956088119f856fbea6 100644 (file)
@@ -712,57 +712,57 @@ static char * dot3d_xpm[] = {
 (defsubst bubbles--grid-width ()
   "Return the grid width for the current game theme."
   (car (pcase bubbles-game-theme
-         (`easy
+         ('easy
           bubbles--grid-small)
-         (`medium
+         ('medium
           bubbles--grid-medium)
-         (`difficult
+         ('difficult
           bubbles--grid-large)
-         (`hard
+         ('hard
           bubbles--grid-huge)
-         (`user-defined
+         ('user-defined
           bubbles-grid-size))))
 
 (defsubst bubbles--grid-height ()
   "Return the grid height for the current game theme."
   (cdr (pcase bubbles-game-theme
-         (`easy
+         ('easy
           bubbles--grid-small)
-         (`medium
+         ('medium
           bubbles--grid-medium)
-         (`difficult
+         ('difficult
           bubbles--grid-large)
-         (`hard
+         ('hard
           bubbles--grid-huge)
-         (`user-defined
+         ('user-defined
           bubbles-grid-size))))
 
 (defsubst bubbles--colors ()
   "Return the color list for the current game theme."
   (pcase bubbles-game-theme
-    (`easy
+    ('easy
      bubbles--colors-2)
-    (`medium
+    ('medium
      bubbles--colors-3)
-    (`difficult
+    ('difficult
      bubbles--colors-4)
-    (`hard
+    ('hard
      bubbles--colors-5)
-    (`user-defined
+    ('user-defined
      bubbles-colors)))
 
 (defsubst bubbles--shift-mode ()
   "Return the shift mode for the current game theme."
   (pcase bubbles-game-theme
-    (`easy
+    ('easy
      'default)
-    (`medium
+    ('medium
      'default)
-    (`difficult
+    ('difficult
      'always)
-    (`hard
+    ('hard
      'always)
-    (`user-defined
+    ('user-defined
      bubbles-shift-mode)))
 
 (defun bubbles-save-settings ()
@@ -1328,11 +1328,11 @@ Return t if new char is non-empty."
   (when (and (display-images-p)
              (not (eq bubbles-graphics-theme 'ascii)))
     (let ((template (pcase bubbles-graphics-theme
-                      (`circles bubbles--image-template-circle)
-                      (`balls bubbles--image-template-ball)
-                      (`squares bubbles--image-template-square)
-                      (`diamonds bubbles--image-template-diamond)
-                      (`emacs bubbles--image-template-emacs))))
+                      ('circles bubbles--image-template-circle)
+                      ('balls bubbles--image-template-ball)
+                      ('squares bubbles--image-template-square)
+                      ('diamonds bubbles--image-template-diamond)
+                      ('emacs bubbles--image-template-emacs))))
       (setq bubbles--empty-image
             (create-image (replace-regexp-in-string
                            "^\"\\(.*\\)\t.*c .*\",$"
index 6edd085b59ae1ac9b587f0e938747ecc11a5111d..79825c4aaa51e906a252ce0eed5e85e51fb1da0e 100644 (file)
@@ -318,19 +318,19 @@ format."
   (let ((data (gamegrid-match-spec-list data-spec-list))
        (color (gamegrid-match-spec-list color-spec-list)))
     (pcase data
-      (`color-x
+      ('color-x
        (gamegrid-make-color-x-face color))
-      (`grid-x
+      ('grid-x
        (unless gamegrid-grid-x-face
         (setq gamegrid-grid-x-face (gamegrid-make-grid-x-face)))
        gamegrid-grid-x-face)
-      (`mono-x
+      ('mono-x
        (unless gamegrid-mono-x-face
         (setq gamegrid-mono-x-face (gamegrid-make-mono-x-face)))
        gamegrid-mono-x-face)
-      (`color-tty
+      ('color-tty
        (gamegrid-make-color-tty-face color))
-      (`mono-tty
+      ('mono-tty
        (unless gamegrid-mono-tty-face
         (setq gamegrid-mono-tty-face (gamegrid-make-mono-tty-face)))
        gamegrid-mono-tty-face))))
@@ -557,7 +557,7 @@ On non-POSIX systems Emacs searches for FILE in the directory
 specified by the variable `temporary-file-directory'.  If necessary,
 FILE is created there."
   (pcase system-type
-    ((or `ms-dos `windows-nt)
+    ((or 'ms-dos 'windows-nt)
      (gamegrid-add-score-insecure file score))
     (_
      (gamegrid-add-score-with-update-game-score file score))))
index 59f4b07f13bb67acf6951b4f818ced1f94de53e9..c6e60a130feb0ee65e8389241d31b25b3440f493 100644 (file)
@@ -84,7 +84,7 @@ searching backwards at another AC_... command."
   (setq-local syntax-propertize-function
              (syntax-propertize-rules ("\\<dnl\\>" (0 "<"))))
   (setq-local font-lock-defaults
-             `(autoconf-font-lock-keywords nil nil))
+             '(autoconf-font-lock-keywords nil nil))
   (setq-local imenu-generic-expression autoconf-imenu-generic-expression)
   (setq-local indent-line-function #'indent-relative)
   (setq-local add-log-current-defun-function
index 972d214c0c439773afb76e6abb919efee85f4142..83b27ef16c1e25ff8c84da6ff89160f87e3feeb0 100644 (file)
@@ -241,7 +241,7 @@ to it is returned.  This function does not modify the point or the mark."
 
         ((eq position 'bol)
          (if (and (cc-bytecomp-fboundp 'line-beginning-position) (not point))
-             `(line-beginning-position)
+             '(line-beginning-position)
            `(save-excursion
               ,@(if point `((goto-char ,point)))
               (beginning-of-line)
@@ -249,7 +249,7 @@ to it is returned.  This function does not modify the point or the mark."
 
         ((eq position 'eol)
          (if (and (cc-bytecomp-fboundp 'line-end-position) (not point))
-             `(line-end-position)
+             '(line-end-position)
            `(save-excursion
               ,@(if point `((goto-char ,point)))
               (end-of-line)
@@ -285,7 +285,7 @@ to it is returned.  This function does not modify the point or the mark."
 
         ((eq position 'bopl)
          (if (and (cc-bytecomp-fboundp 'line-beginning-position) (not point))
-             `(line-beginning-position 0)
+             '(line-beginning-position 0)
            `(save-excursion
               ,@(if point `((goto-char ,point)))
               (forward-line -1)
@@ -293,7 +293,7 @@ to it is returned.  This function does not modify the point or the mark."
 
         ((eq position 'bonl)
          (if (and (cc-bytecomp-fboundp 'line-beginning-position) (not point))
-             `(line-beginning-position 2)
+             '(line-beginning-position 2)
            `(save-excursion
               ,@(if point `((goto-char ,point)))
               (forward-line 1)
@@ -301,7 +301,7 @@ to it is returned.  This function does not modify the point or the mark."
 
         ((eq position 'eopl)
          (if (and (cc-bytecomp-fboundp 'line-end-position) (not point))
-             `(line-end-position 0)
+             '(line-end-position 0)
            `(save-excursion
               ,@(if point `((goto-char ,point)))
               (beginning-of-line)
@@ -310,7 +310,7 @@ to it is returned.  This function does not modify the point or the mark."
 
         ((eq position 'eonl)
          (if (and (cc-bytecomp-fboundp 'line-end-position) (not point))
-             `(line-end-position 2)
+             '(line-end-position 2)
            `(save-excursion
               ,@(if point `((goto-char ,point)))
               (forward-line 1)
@@ -482,17 +482,17 @@ to it is returned.  This function does not modify the point or the mark."
   ;; Get the regular expression `sentence-end'.
   (if (cc-bytecomp-fboundp 'sentence-end)
       ;; Emacs 22:
-      `(sentence-end)
+      '(sentence-end)
     ;; Emacs <22 + XEmacs
-    `sentence-end))
+    'sentence-end))
 
 (defmacro c-default-value-sentence-end ()
   ;; Get the default value of the variable sentence end.
   (if (cc-bytecomp-fboundp 'sentence-end)
       ;; Emacs 22:
-      `(let (sentence-end) (sentence-end))
+      '(let (sentence-end) (sentence-end))
     ;; Emacs <22 + XEmacs
-    `(default-value 'sentence-end)))
+    '(default-value 'sentence-end)))
 
 ;; The following is essentially `save-buffer-state' from lazy-lock.el.
 ;; It ought to be a standard macro.
@@ -691,7 +691,7 @@ leave point unmoved.
 
 A LIMIT for the search may be given.  The start position is assumed to be
 before it."
-  `(let ((dest (c-safe-scan-lists ,(or pos `(point)) 1 0 ,limit)))
+  `(let ((dest (c-safe-scan-lists ,(or pos '(point)) 1 0 ,limit)))
      (when dest (goto-char dest) dest)))
 
 (defmacro c-go-list-backward (&optional pos limit)
@@ -701,7 +701,7 @@ leave point unmoved.
 
 A LIMIT for the search may be given.  The start position is assumed to be
 after it."
-  `(let ((dest (c-safe-scan-lists ,(or pos `(point)) -1 0 ,limit)))
+  `(let ((dest (c-safe-scan-lists ,(or pos '(point)) -1 0 ,limit)))
      (when dest (goto-char dest) dest)))
 
 (defmacro c-up-list-forward (&optional pos limit)
@@ -710,7 +710,7 @@ or nil if no such position exists.  The point is used if POS is left out.
 
 A limit for the search may be given.  The start position is assumed to
 be before it."
-  `(c-safe-scan-lists ,(or pos `(point)) 1 1 ,limit))
+  `(c-safe-scan-lists ,(or pos '(point)) 1 1 ,limit))
 
 (defmacro c-up-list-backward (&optional pos limit)
   "Return the position of the start of the list sexp containing POS,
@@ -718,7 +718,7 @@ or nil if no such position exists.  The point is used if POS is left out.
 
 A limit for the search may be given.  The start position is assumed to
 be after it."
-  `(c-safe-scan-lists ,(or pos `(point)) -1 1 ,limit))
+  `(c-safe-scan-lists ,(or pos '(point)) -1 1 ,limit))
 
 (defmacro c-down-list-forward (&optional pos limit)
   "Return the first position inside the first list sexp after POS,
@@ -726,7 +726,7 @@ or nil if no such position exists.  The point is used if POS is left out.
 
 A limit for the search may be given.  The start position is assumed to
 be before it."
-  `(c-safe-scan-lists ,(or pos `(point)) 1 -1 ,limit))
+  `(c-safe-scan-lists ,(or pos '(point)) 1 -1 ,limit))
 
 (defmacro c-down-list-backward (&optional pos limit)
   "Return the last position inside the last list sexp before POS,
@@ -734,7 +734,7 @@ or nil if no such position exists.  The point is used if POS is left out.
 
 A limit for the search may be given.  The start position is assumed to
 be after it."
-  `(c-safe-scan-lists ,(or pos `(point)) -1 -1 ,limit))
+  `(c-safe-scan-lists ,(or pos '(point)) -1 -1 ,limit))
 
 (defmacro c-go-up-list-forward (&optional pos limit)
   "Move the point to the first position after the list sexp containing POS,
@@ -895,7 +895,7 @@ be after it."
   ;; c-beginning-of-statement-1.
   ;; Languages which don't have EOL terminated statements always return NIL
   ;; (they _know_ there's no vsemi ;-).
-  `(if c-vsemi-status-unknown-p-fn (funcall c-vsemi-status-unknown-p-fn)))
+  '(if c-vsemi-status-unknown-p-fn (funcall c-vsemi-status-unknown-p-fn)))
 
 \f
 (defmacro c-benign-error (format &rest args)
@@ -1607,12 +1607,12 @@ with value CHAR in the region [FROM to)."
 (defmacro c-looking-at-non-alphnumspace ()
   "Are we looking at a character which isn't alphanumeric or space?"
   (if (memq 'gen-comment-delim c-emacs-features)
-      `(looking-at
-"\\([;#]\\|\\'\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s$\\|\\s<\\|\\s>\\|\\s!\\)")
-    `(or (looking-at
-"\\([;#]\\|\\'\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s$\\|\\s<\\|\\s>\\)"
-        (let ((prop (c-get-char-property (point) 'syntax-table)))
-          (eq prop '(14)))))))         ; '(14) is generic comment delimiter.
+      '(looking-at
+       "\\([;#]\\|\\'\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s$\\|\\s<\\|\\s>\\|\\s!\\)")
+    '(or (looking-at
+         "\\([;#]\\|\\'\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s$\\|\\s<\\|\\s>\\)"
+         (let ((prop (c-get-char-property (point) 'syntax-table)))
+           (eq prop '(14)))))))                ; '(14) is generic comment delimiter.
 
 \f
 (defsubst c-intersect-lists (list alist)
@@ -1836,7 +1836,7 @@ The returned string is of the type that can be used with
 non-nil, a caret is prepended to invert the set."
   ;; This function ought to be in the elisp core somewhere.
   (let ((str (if inverted "^" "")) char char2)
-    (setq chars (sort (append chars nil) `<))
+    (setq chars (sort (append chars nil) #'<))
     (while chars
       (setq char (pop chars))
       (if (memq char '(?\\ ?^ ?-))
index 7a6cfdd1b7dcf1beebfdeddac3b5c614663bdebf..9cd2174b665d86ff357b1b8568502df1f5a9415d 100644 (file)
@@ -1699,35 +1699,35 @@ comment at the start of cc-engine.el for more info."
   `(let ((beg ,beg) (end ,end))
      (put-text-property beg end 'c-is-sws t)
      ,@(when (facep 'c-debug-is-sws-face)
-        `((c-debug-add-face beg end 'c-debug-is-sws-face)))))
+        '((c-debug-add-face beg end 'c-debug-is-sws-face)))))
 
 (defmacro c-put-in-sws (beg end)
   ;; This macro does a hidden buffer change.
   `(let ((beg ,beg) (end ,end))
      (put-text-property beg end 'c-in-sws t)
      ,@(when (facep 'c-debug-is-sws-face)
-        `((c-debug-add-face beg end 'c-debug-in-sws-face)))))
+        '((c-debug-add-face beg end 'c-debug-in-sws-face)))))
 
 (defmacro c-remove-is-sws (beg end)
   ;; This macro does a hidden buffer change.
   `(let ((beg ,beg) (end ,end))
      (remove-text-properties beg end '(c-is-sws nil))
      ,@(when (facep 'c-debug-is-sws-face)
-        `((c-debug-remove-face beg end 'c-debug-is-sws-face)))))
+        '((c-debug-remove-face beg end 'c-debug-is-sws-face)))))
 
 (defmacro c-remove-in-sws (beg end)
   ;; This macro does a hidden buffer change.
   `(let ((beg ,beg) (end ,end))
      (remove-text-properties beg end '(c-in-sws nil))
      ,@(when (facep 'c-debug-is-sws-face)
-        `((c-debug-remove-face beg end 'c-debug-in-sws-face)))))
+        '((c-debug-remove-face beg end 'c-debug-in-sws-face)))))
 
 (defmacro c-remove-is-and-in-sws (beg end)
   ;; This macro does a hidden buffer change.
   `(let ((beg ,beg) (end ,end))
      (remove-text-properties beg end '(c-is-sws nil c-in-sws nil))
      ,@(when (facep 'c-debug-is-sws-face)
-        `((c-debug-remove-face beg end 'c-debug-is-sws-face)
+        '((c-debug-remove-face beg end 'c-debug-is-sws-face)
           (c-debug-remove-face beg end 'c-debug-in-sws-face)))))
 
 ;; The type of literal position `end' is in a `before-change-functions'
@@ -6873,8 +6873,8 @@ comment at the start of cc-engine.el for more info."
   `(let (res)
      (setq c-last-identifier-range nil)
      (while (if (setq res ,(if (eq type 'type)
-                              `(c-forward-type)
-                            `(c-forward-name)))
+                              '(c-forward-type)
+                            '(c-forward-name)))
                nil
              (cond ((looking-at c-keywords-regexp)
                     (c-forward-keyword-clause 1))
@@ -6884,8 +6884,8 @@ comment at the start of cc-engine.el for more info."
      (when (memq res '(t known found prefix maybe))
        (when c-record-type-identifiers
         ,(if (eq type 'type)
-             `(c-record-type-id c-last-identifier-range)
-           `(c-record-ref-id c-last-identifier-range)))
+             '(c-record-type-id c-last-identifier-range)
+           '(c-record-ref-id c-last-identifier-range)))
        t)))
 
 (defmacro c-forward-id-comma-list (type update-safe-pos)
@@ -6896,7 +6896,7 @@ comment at the start of cc-engine.el for more info."
   ;; This macro might do hidden buffer changes.
   `(while (and (progn
                 ,(when update-safe-pos
-                   `(setq safe-pos (point)))
+                   '(setq safe-pos (point)))
                 (eq (char-after) ?,))
               (progn
                 (forward-char)
@@ -7917,7 +7917,7 @@ comment at the start of cc-engine.el for more info."
   ;; a comma.  If either of <symbol> or bracketed <expression> is missing,
   ;; throw nil to 'level.  If the terminating } or ) is unmatched, throw nil
   ;; to 'done.  This is not a general purpose macro!
-  `(while (eq (char-before) ?,)
+  '(while (eq (char-before) ?,)
      (backward-char)
      (c-backward-syntactic-ws)
      (when (not (memq (char-before) '(?\) ?})))
index 79254ff7553509f6f31e2f34d0401f96b4601eb1..a216061426c0f81d73775b81973cb62cc2ad1f98 100644 (file)
@@ -672,7 +672,7 @@ stuff.  Used on level 1 and higher."
 
       ,@(when (c-major-mode-is 'pike-mode)
          ;; Recognize hashbangs in Pike.
-         `((eval . (list "\\`#![^\n\r]*"
+         '((eval . (list "\\`#![^\n\r]*"
                          0 c-preprocessor-face-name))))
 
       ;; Make hard spaces visible through an inverted `font-lock-warning-face'.
@@ -1937,7 +1937,7 @@ on level 2 only and so aren't combined with `c-complex-decl-matchers'."
 
       ;; Fontify generic colon labels in languages that support them.
       ,@(when (c-lang-const c-recognize-colon-labels)
-         `(c-font-lock-labels))))
+         '(c-font-lock-labels))))
 
 (c-lang-defconst c-complex-decl-matchers
   "Complex font lock matchers for types and declarations.  Used on level
@@ -1983,10 +1983,10 @@ on level 2 only and so aren't combined with `c-complex-decl-matchers'."
 
       ;; Fontify angle bracket arglists like templates in C++.
       ,@(when (c-lang-const c-recognize-<>-arglists)
-         `(c-font-lock-<>-arglists))
+         '(c-font-lock-<>-arglists))
 
       ,@(when (c-major-mode-is 'c++-mode)
-         `(c-font-lock-c++-lambda-captures))
+         '(c-font-lock-c++-lambda-captures))
 
       ;; The first two rules here mostly find occurrences that
       ;; `c-font-lock-declarations' has found already, but not
@@ -2008,7 +2008,7 @@ on level 2 only and so aren't combined with `c-complex-decl-matchers'."
       ,@(when (c-major-mode-is 'c++-mode)
          ;; This pattern is a probably a "(MATCHER . ANCHORED-HIGHLIGHTER)"
          ;; (see Elisp page "Search-based Fontification").
-         `(("\\<new\\>"
+         '(("\\<new\\>"
             (c-font-lock-c++-new))))
       ))
 
@@ -2076,10 +2076,10 @@ higher."
   t `(,@(when (c-lang-const c-brace-list-decl-kwds)
       ;; Fontify the remaining identifiers inside an enum list when we start
       ;; inside it.
-         `(c-font-lock-enum-tail
-      ;; Fontify the identifiers inside enum lists.  (The enum type
-      ;; name is handled by `c-simple-decl-matchers' or
-      ;; `c-complex-decl-matchers' below.
+         '(c-font-lock-enum-tail
+           ;; Fontify the identifiers inside enum lists.  (The enum type
+           ;; name is handled by `c-simple-decl-matchers' or
+           ;; `c-complex-decl-matchers' below.
            c-font-lock-enum-body))
 
        ;; Fontify labels after goto etc.
@@ -2130,7 +2130,7 @@ higher."
                     (if (> (point) limit) (goto-char limit))))))))
 
        ,@(when (c-major-mode-is 'java-mode)
-           `((eval . (list "\\<\\(@[a-zA-Z0-9]+\\)\\>" 1 c-annotation-face))))
+           '((eval . (list "\\<\\(@[a-zA-Z0-9]+\\)\\>" 1 c-annotation-face))))
       ))
 
 (c-lang-defconst c-matchers-1
index de49ad75d3aebf079eacefd6a3a801e7a31f83e4..8c148e5e53d91b892457bcdfd8d9975527de8a60 100644 (file)
@@ -293,7 +293,7 @@ the evaluated constant value at compile time."
       ["Forward Statement"      c-end-of-statement t]
       ,@(when (c-lang-const c-opt-cpp-prefix)
          ;; Only applicable if there's a cpp preprocessor.
-         `(["Up Conditional"         c-up-conditional t]
+         '(["Up Conditional"         c-up-conditional t]
            ["Backward Conditional"   c-backward-conditional t]
            ["Forward Conditional"    c-forward-conditional t]
            "----"
@@ -383,9 +383,9 @@ The syntax tables aren't stored directly since they're quite large."
                 ;; its compiler directives as single keyword tokens.
                 ;; This is then necessary since it's assumed that
                 ;; every keyword is a single symbol.
-                `(modify-syntax-entry ?@ "_" table))
+                '(modify-syntax-entry ?@ "_" table))
                ((c-major-mode-is 'pike-mode)
-                `(modify-syntax-entry ?@ "." table)))
+                '(modify-syntax-entry ?@ "." table)))
         table)))
 
 (c-lang-defconst c-mode-syntax-table
@@ -1046,16 +1046,16 @@ since CC Mode treats every identifier as an expression."
       ;; Primary.
       ,@(c-lang-const c-identifier-ops)
       ,@(cond ((or (c-major-mode-is 'c++-mode) (c-major-mode-is 'java-mode))
-              `((postfix-if-paren "<" ">"))) ; Templates.
+              '((postfix-if-paren "<" ">"))) ; Templates.
              ((c-major-mode-is 'pike-mode)
-              `((prefix "global" "predef")))
+              '((prefix "global" "predef")))
              ((c-major-mode-is 'java-mode)
-              `((prefix "super"))))
+              '((prefix "super"))))
 
       ;; Postfix.
       ,@(when (c-major-mode-is 'c++-mode)
          ;; The following need special treatment.
-         `((prefix "dynamic_cast" "static_cast"
+         '((prefix "dynamic_cast" "static_cast"
                    "reinterpret_cast" "const_cast" "typeid"
                     "alignof")))
       (left-assoc "."
@@ -1085,7 +1085,7 @@ since CC Mode treats every identifier as an expression."
 
       ;; Member selection.
       ,@(when (c-major-mode-is 'c++-mode)
-         `((left-assoc ".*" "->*")))
+         '((left-assoc ".*" "->*")))
 
       ;; Multiplicative.
       (left-assoc "*" "/" "%")
index 7d0884389eb9c7291c55a52d765772e491c2b84e..f9c390cd729a78a186ac82723670825b82354682 100644 (file)
                (beginning-of-line 2)
                (list ,file ,line)))
        (defmacro cperl-etags-snarf-tag (_file _line)
-         `(etags-snarf-tag)))
+         '(etags-snarf-tag)))
       (if (featurep 'xemacs)
          (defmacro cperl-etags-goto-tag-location (elt)
            ;;(progn
index 07b58b53823f772355709aedf0dcb83c1eded656..2837230752fc0a75bcb63f51c69d45d8f7b65dca 100644 (file)
@@ -907,8 +907,8 @@ Return the buffer created."
     (ebrowse-redraw-tree)
     (set-buffer-modified-p nil)
     (pcase pop
-      (`switch (switch-to-buffer name))
-      (`pop (pop-to-buffer name)))
+      ('switch (switch-to-buffer name))
+      ('pop (pop-to-buffer name)))
     (current-buffer)))
 
 
@@ -1614,13 +1614,13 @@ specifies where to find/view the result."
           (setq view-mode-hook nil))
         (push 'ebrowse-find-pattern view-mode-hook)
         (pcase where
-          (`other-window (view-file-other-window file))
-          (`other-frame  (ebrowse-view-file-other-frame file))
+          ('other-window (view-file-other-window file))
+          ('other-frame  (ebrowse-view-file-other-frame file))
           (_             (view-file file))))
        (t
         (pcase where
-          (`other-window (find-file-other-window file))
-          (`other-frame  (find-file-other-frame file))
+          ('other-window (find-file-other-window file))
+          ('other-frame  (find-file-other-frame file))
           (_             (find-file file)))
         (ebrowse-find-pattern struc info))))
 
@@ -1695,9 +1695,9 @@ INFO is a list (TREE-HEADER TREE-OR-MEMBER MEMBER-LIST)."
          (ebrowse-ms
            (setf pattern
                  (pcase member-list
-                   ((or `ebrowse-ts-member-variables
-                        `ebrowse-ts-static-variables
-                        `ebrowse-ts-types)
+                   ((or 'ebrowse-ts-member-variables
+                        'ebrowse-ts-static-variables
+                        'ebrowse-ts-types)
                     (ebrowse-variable-declaration-regexp
                      (ebrowse-bs-name position)))
                    (_
@@ -3172,9 +3172,9 @@ EVENT is the mouse event."
     (2 (ebrowse-find-member-definition))
     (1 (pcase (get-text-property (posn-point (event-start event))
                                  'ebrowse-what)
-        (`member-name
+        ('member-name
          (ebrowse-popup-menu ebrowse-member-name-object-menu event))
-        (`class-name
+        ('class-name
          (ebrowse-popup-menu ebrowse-member-class-name-object-menu event))
         (_
          (ebrowse-popup-menu ebrowse-member-buffer-object-menu event))))))
@@ -3189,7 +3189,7 @@ EVENT is the mouse event."
     (2 (ebrowse-find-member-definition))
     (1 (pcase (get-text-property (posn-point (event-start event))
                                'ebrowse-what)
-        (`member-name
+        ('member-name
          (ebrowse-view-member-definition 0))))))
 
 
@@ -3522,12 +3522,12 @@ KIND is an additional string printed in the buffer."
     (insert kind)
     (indent-to 50)
     (insert (pcase (cl-second info)
-             (`ebrowse-ts-member-functions "member function")
-             (`ebrowse-ts-member-variables "member variable")
-             (`ebrowse-ts-static-functions "static function")
-             (`ebrowse-ts-static-variables "static variable")
-             (`ebrowse-ts-friends (if globals-p "define" "friend"))
-             (`ebrowse-ts-types "type")
+             ('ebrowse-ts-member-functions "member function")
+             ('ebrowse-ts-member-variables "member variable")
+             ('ebrowse-ts-static-functions "static function")
+             ('ebrowse-ts-static-variables "static variable")
+             ('ebrowse-ts-friends (if globals-p "define" "friend"))
+             ('ebrowse-ts-types "type")
              (_ "unknown"))
            "\n")))
 
@@ -4371,7 +4371,7 @@ EVENT is the mouse event."
     (pcase (event-click-count event)
       (1
        (pcase property
-        (`class-name
+        ('class-name
          (ebrowse-popup-menu ebrowse-tree-buffer-class-object-menu event))
         (_
          (ebrowse-popup-menu ebrowse-tree-buffer-object-menu event)))))))
@@ -4386,7 +4386,7 @@ EVENT is the mouse event."
         (property (get-text-property where 'ebrowse-what)))
     (pcase (event-click-count event)
       (1 (pcase property
-          (`class-name
+          ('class-name
            (ebrowse-tree-command:show-member-functions)))))))
 
 
@@ -4399,11 +4399,11 @@ EVENT is the mouse event."
         (property (get-text-property where 'ebrowse-what)))
     (pcase (event-click-count event)
       (2 (pcase property
-          (`class-name
+          ('class-name
            (let ((collapsed (save-excursion (skip-chars-forward "^\r\n")
                                             (looking-at "\r"))))
              (ebrowse-collapse-fn (not collapsed))))
-          (`mark
+          ('mark
            (ebrowse-toggle-mark-at-point 1)))))))
 
 
index f694252c4071e158187fef8ec03bd3287076a8e6..39df9efda2cce49f166ca29d4bc9adebf40199a2 100644 (file)
@@ -271,14 +271,14 @@ Blank lines separate paragraphs.  Semicolons start comments.
         (unless
             (setq res
                   (pcase sexp
-                    (`(,(or `let `let*) ,bindings)
+                    (`(,(or 'let 'let*) ,bindings)
                      (let ((vars vars))
                        (when (eq 'let* (car sexp))
                          (dolist (binding (cdr (reverse bindings)))
                            (push (or (car-safe binding) binding) vars)))
                        (elisp--local-variables-1
                         vars (car (cdr-safe (car (last bindings)))))))
-                    (`(,(or `let `let*) ,bindings . ,body)
+                    (`(,(or 'let 'let*) ,bindings . ,body)
                      (let ((vars vars))
                        (dolist (binding bindings)
                          (push (or (car-safe binding) binding) vars))
@@ -300,7 +300,7 @@ Blank lines separate paragraphs.  Semicolons start comments.
                     ;; FIXME: Handle `cond'.
                     (`(,_ . ,_)
                      (elisp--local-variables-1 vars (car (last sexp))))
-                    (`elisp--witness--lisp (or vars '(nil)))
+                    ('elisp--witness--lisp (or vars '(nil)))
                     (_ nil)))
           ;; We didn't find the witness in the last element so we try to
           ;; backtrack to the last-but-one.
@@ -541,7 +541,7 @@ functions are annotated with \"<f>\" via the
                      (pcase parent
                        ;; FIXME: Rather than hardcode special cases here,
                        ;; we should use something like a symbol-property.
-                       (`declare
+                       ('declare
                         (list t (mapcar (lambda (x) (symbol-name (car x)))
                                         (delete-dups
                                          ;; FIXME: We should include some
@@ -549,14 +549,14 @@ functions are annotated with \"<f>\" via the
                                          (append macro-declarations-alist
                                                  defun-declarations-alist
                                                  nil))))) ; Copy both alists.
-                       ((and (or `condition-case `condition-case-unless-debug)
+                       ((and (or 'condition-case 'condition-case-unless-debug)
                              (guard (save-excursion
                                       (ignore-errors
                                         (forward-sexp 2)
                                         (< (point) beg)))))
                         (list t obarray
                               :predicate (lambda (sym) (get sym 'error-conditions))))
-                       ((and (or ?\( `let `let*)
+                       ((and (or ?\( 'let 'let*)
                              (guard (save-excursion
                                       (goto-char (1- beg))
                                       (when (eq parent ?\()
index ebcfd7d1f6e2d8663a3e0ebdb31116e9ae639252..c95d32668feab16f4e341807298fda0769b2feaa 100644 (file)
@@ -78,7 +78,7 @@ SOURCE."
 (defun flymake-cc-use-special-make-target ()
   "Command for checking a file via a CHK_SOURCES Make target."
   (unless (executable-find "make") (error "Make not found"))
-  `("make" "check-syntax" "CHK_SOURCES=-x c -"))
+  '("make" "check-syntax" "CHK_SOURCES=-x c -"))
 
 (defvar-local flymake-cc--proc nil "Internal variable for `flymake-gcc'")
 
index f0f93f108785673b5847927df5e0c219afa253c6..5352cc3fe6e83ab026bf161f831280ce5e53d1c1 100644 (file)
@@ -518,7 +518,7 @@ Currently accepted REPORT-KEY arguments are:
 (put :warning 'flymake-category 'flymake-warning)
 (put :note 'flymake-category 'flymake-note)
 
-(defvar flymake-diagnostic-types-alist `() "")
+(defvar flymake-diagnostic-types-alist '() "")
 (make-obsolete-variable
  'flymake-diagnostic-types-alist
  "Set properties on the diagnostic symbols instead. See Info
@@ -1112,7 +1112,7 @@ default) no filter is applied."
 ;;; Mode-line and menu
 ;;;
 (easy-menu-define flymake-menu flymake-mode-map "Flymake"
-  `("Flymake"
+  '("Flymake"
     [ "Go to next problem"      flymake-goto-next-error t ]
     [ "Go to previous problem"  flymake-goto-prev-error t ]
     [ "Check now"               flymake-start t ]
@@ -1121,7 +1121,7 @@ default) no filter is applied."
     [ "Go to log buffer"        flymake-switch-to-log-buffer t ]
     [ "Turn off Flymake"        flymake-mode t ]))
 
-(defvar flymake--mode-line-format `(:eval (flymake--mode-line-format)))
+(defvar flymake--mode-line-format '(:eval (flymake--mode-line-format)))
 
 (put 'flymake--mode-line-format 'risky-local-variable t)
 
@@ -1160,16 +1160,16 @@ default) no filter is applied."
                       map))
       ,@(pcase-let ((`(,ind ,face ,explain)
                      (cond ((null known)
-                            `("?" mode-line "No known backends"))
+                            '("?" mode-line "No known backends"))
                            (some-waiting
                             `("Wait" compilation-mode-line-run
                               ,(format "Waiting for %s running backend(s)"
                                        (length some-waiting))))
                            (all-disabled
-                            `("!" compilation-mode-line-run
+                            '("!" compilation-mode-line-run
                               "All backends disabled"))
                            (t
-                            `(nil nil nil)))))
+                            '(nil nil nil)))))
           (when ind
             `((":"
                (:propertize ,ind
@@ -1297,14 +1297,14 @@ POS can be a buffer position or a button"
   "Flymake diagnostics"
   "A mode for listing Flymake diagnostics."
   (setq tabulated-list-format
-        `[("Line" 5 (lambda (l1 l2)
-                      (< (plist-get (car l1) :line)
-                         (plist-get (car l2) :line)))
+        `[("Line" 5 ,(lambda (l1 l2)
+                       (< (plist-get (car l1) :line)
+                          (plist-get (car l2) :line)))
            :right-align t)
           ("Col" 3 nil :right-align t)
-          ("Type" 8 (lambda (l1 l2)
-                      (< (plist-get (car l1) :severity)
-                         (plist-get (car l2) :severity))))
+          ("Type" 8 ,(lambda (l1 l2)
+                       (< (plist-get (car l1) :severity)
+                          (plist-get (car l2) :severity))))
           ("Message" 0 t)])
   (setq tabulated-list-entries
         'flymake--diagnostics-buffer-entries)
index bfbf6c09b2783028b8d329340c6030ebdeae2e5d..9c91843450347db76ec8ded0445cbc6702bd2d0c 100644 (file)
@@ -495,7 +495,7 @@ This is used to fontify fixed-format Fortran comments."
   ;; `byte-compile', but simple benchmarks indicate that it's probably not
   ;; worth the trouble (about 0.5% of slow down).
   (eval                         ;I hate `eval', but it's hard to avoid it here.
-   `(syntax-propertize-rules
+   '(syntax-propertize-rules
      ("^[CcDd\\*]" (0 "<"))
      ;; We mark all chars after line-length as "comment-start", rather than
      ;; just the first one.  This is so that a closing ' that's past the
index 0ededb1b15500d4e03ac00657affcfb219317558..b79eaf031e9d9732ecd42c14083503f4dd72a582 100644 (file)
@@ -704,7 +704,7 @@ This function is called from `compilation-filter-hook'."
                  'exec-plus)
                 ((and
                   (grep-probe find-program `(nil nil nil ,null-device "-print0"))
-                  (grep-probe xargs-program `(nil nil nil "-0" "echo")))
+                  (grep-probe xargs-program '(nil nil nil "-0" "echo")))
                  'gnu)
                 (t
                  'exec))))
index 91b4a65edd940884e01f435e9479e572257c2f1c..af5b97a4f8760c2e0117299705583741a7883430 100644 (file)
@@ -545,8 +545,8 @@ required by the caller."
                   nil
                   (if gdb-show-changed-values
                       (or parent (pcase status
-                                   (`changed 'font-lock-warning-face)
-                                   (`out-of-scope 'shadow)
+                                   ('changed 'font-lock-warning-face)
+                                   ('out-of-scope 'shadow)
                                    (_ t)))
                     t)
                   depth)
@@ -566,8 +566,8 @@ required by the caller."
                     nil
                     (if gdb-show-changed-values
                         (or parent (pcase status
-                                     (`changed 'font-lock-warning-face)
-                                     (`out-of-scope 'shadow)
+                                     ('changed 'font-lock-warning-face)
+                                     ('out-of-scope 'shadow)
                                      (_ t)))
                       t)
                     depth)
@@ -3516,11 +3516,11 @@ With arg, dereference expr if ARG is positive, otherwise do not dereference."
 (defun gud-tooltip-print-command (expr)
   "Return a suitable command to print the expression EXPR."
   (pcase gud-minor-mode
-    (`gdbmi (concat "-data-evaluate-expression \"" expr "\""))
-    (`guiler expr)
-    (`dbx (concat "print " expr))
-    ((or `xdb `pdb) (concat "p " expr))
-    (`sdb (concat expr "/"))))
+    ('gdbmi (concat "-data-evaluate-expression \"" expr "\""))
+    ('guiler expr)
+    ('dbx (concat "print " expr))
+    ((or 'xdb 'pdb) (concat "p " expr))
+    ('sdb (concat expr "/"))))
 
 (declare-function gdb-input "gdb-mi" (command handler &optional trigger))
 (declare-function tooltip-expr-to-print "tooltip" (event))
index 540931c9f2ffce0596257c5ba9e9857e9c32acde..f9ea14e3504cbf8008506d1ae89f93d87c0e6e45 100644 (file)
@@ -9074,7 +9074,7 @@ Assumes that point is at the beginning of the unit as found by
 
 ;; Menus - using easymenu.el
 (defvar idlwave-mode-menu-def
-  `("IDLWAVE"
+  '("IDLWAVE"
     ["PRO/FUNC menu" idlwave-function-menu t]
     ("Motion"
      ["Subprogram Start" idlwave-beginning-of-subprogram t]
@@ -9151,7 +9151,7 @@ Assumes that point is at the beginning of the unit as found by
      ["Kill auto-created buffers" idlwave-kill-autoloaded-buffers t]
      "--"
      ["Insert TAB character" idlwave-hard-tab t])
-     "--"
+    "--"
     ("External"
      ["Start IDL shell" idlwave-shell t]
      ["Edit file in IDLDE" idlwave-edit-in-idlde t]
index 3ce5af4c49bd60b59b37ebcbbe08881e05c3ee63..cec48a82a20f88317acf44c2f9ec1a26124ebc61 100644 (file)
@@ -1013,7 +1013,7 @@ BEG defaults to `point-min', meaning to flush the entire cache."
 Update parsing information up to point, referring to parse,
 prev-parse-point, goal-point, and open-items bound lexically in
 the body of `js--ensure-cache'."
-  `(progn
+  '(progn
      (setq goal-point (point))
      (goto-char prev-parse-point)
      (while (progn
@@ -1023,7 +1023,7 @@ the body of `js--ensure-cache'."
               ;; the given depth -- i.e., make sure we're deeper than the target
               ;; depth.
               (cl-assert (> (nth 0 parse)
-                         (js--pitem-paren-depth (car open-items))))
+                            (js--pitem-paren-depth (car open-items))))
               (setq parse (parse-partial-sexp
                            prev-parse-point goal-point
                            (js--pitem-paren-depth (car open-items))
@@ -3322,11 +3322,11 @@ If nil, the whole Array is treated as a JS symbol.")
 
 (defun js--js-decode-retval (result)
   (pcase (intern (cl-first result))
-    (`atom (cl-second result))
-    (`special (intern (cl-second result)))
-    (`array
+    ('atom (cl-second result))
+    ('special (intern (cl-second result)))
+    ('array
      (mapcar #'js--js-decode-retval (cl-second result)))
-    (`objid
+    ('objid
      (or (gethash (cl-second result)
                   js--js-references)
          (puthash (cl-second result)
@@ -3335,7 +3335,7 @@ If nil, the whole Array is treated as a JS symbol.")
                    :process (inferior-moz-process))
                   js--js-references)))
 
-    (`error (signal 'js-js-error (list (cl-second result))))
+    ('error (signal 'js-js-error (list (cl-second result))))
     (x (error "Unmatched case in js--js-decode-retval: %S" x))))
 
 (defvar comint-last-input-end)
@@ -3720,8 +3720,8 @@ If one hasn't been set, or if it's stale, prompt for a new one."
    (when (or (null js--js-context)
              (js--js-handle-expired-p (cdr js--js-context))
              (pcase (car js--js-context)
-               (`window (js? (js< (cdr js--js-context) "closed")))
-               (`browser (not (js? (js< (cdr js--js-context)
+               ('window (js? (js< (cdr js--js-context) "closed")))
+               ('browser (not (js? (js< (cdr js--js-context)
                                         "contentDocument"))))
                (x (error "Unmatched case in js--get-js-context: %S" x))))
      (setq js--js-context (js--read-tab "JavaScript Context: ")))
@@ -3730,8 +3730,8 @@ If one hasn't been set, or if it's stale, prompt for a new one."
 (defun js--js-content-window (context)
   (with-js
    (pcase (car context)
-     (`window (cdr context))
-     (`browser (js< (cdr context)
+     ('window (cdr context))
+     ('browser (js< (cdr context)
                     "contentWindow" "wrappedJSObject"))
      (x (error "Unmatched case in js--js-content-window: %S" x)))))
 
index bb75f575794df7cea31952f57ad24066028ccc35..46568f15bdcadfbb007a006a2fa0936b983c7356 100644 (file)
@@ -63,8 +63,7 @@ If m4 is not in your PATH, set this to an absolute file name."
 ;;(defconst m4-program-options '("--prefix-builtins"))
 
 (defvar m4-font-lock-keywords
-  `(
-    ("\\(\\_<\\(m4_\\)?dnl\\_>\\).*$" . font-lock-comment-face)
+  '(("\\(\\_<\\(m4_\\)?dnl\\_>\\).*$" . font-lock-comment-face)
     ("\\$[*#@0-9]" . font-lock-variable-name-face)
     ("\\$\\@" . font-lock-variable-name-face)
     ("\\$\\*" . font-lock-variable-name-face)
index f67407f48eed8e94896825789478d2735dd367ca..ed4e69dc5199339e5eb75f48e7b8471e61590c7d 100644 (file)
@@ -343,7 +343,7 @@ not be enclosed in { } or ( )."
   "List of keywords understood by gmake.")
 
 (defconst makefile-bsdmake-statements
-  `(".elif" ".elifdef" ".elifmake" ".elifndef" ".elifnmake" ".else" ".endfor"
+  '(".elif" ".elifdef" ".elifmake" ".elifndef" ".elifnmake" ".else" ".endfor"
     ".endif" ".for" ".if" ".ifdef" ".ifmake" ".ifndef" ".ifnmake" ".undef")
   "List of keywords understood by BSD make.")
 
index 22d63420877326e7a0c0d4fd54181c25864a9686..a8c5c39b53701388ba7bfd83a8e1453fb85687b8 100644 (file)
@@ -1108,7 +1108,7 @@ Assumes that file has been compiled with debugging support."
   (set (make-local-variable 'comment-start) "*")
   (set (make-local-variable 'comment-start-skip) "^\\*[ \t]*")
   (set (make-local-variable 'font-lock-defaults)
-       `(mixal-font-lock-keywords))
+       '(mixal-font-lock-keywords))
   (set (make-local-variable 'syntax-propertize-function)
        mixal-syntax-propertize-function)
   ;; might add an indent function in the future
index ef12352457e7084b45b13c6af6b455ac223ba12c..aa412304c5978a3473515a5c9ea637bae0fe1e4a 100644 (file)
   ;; - The inner VAR/TYPE are indented just like the outer VAR/TYPE.
   ;; - The inner PROCEDURE is not aligned with its VAR/TYPE siblings.
   (pcase (cons kind token)
-    (`(:elem . basic) m2-indent)
-    (`(:after . ":=") (or m2-indent smie-indent-basic))
+    ('(:elem . basic) m2-indent)
+    ('(:after . ":=") (or m2-indent smie-indent-basic))
     (`(:after . ,(or "CONST" "VAR" "TYPE"))
      (or m2-indent smie-indent-basic))
     ;; (`(:before . ,(or `"VAR" `"TYPE" `"CONST"))
     ;;  (if (smie-rule-parent-p "PROCEDURE") 0))
-    (`(:after . ";-block")
+    ('(:after . ";-block")
      (if (smie-rule-parent-p "PROCEDURE")
          (smie-rule-parent (or m2-indent smie-indent-basic))))
-    (`(:before . "|") (smie-rule-separator kind))
+    ('(:before . "|") (smie-rule-separator kind))
     ))
 
 ;;;###autoload
index cce5e17e79ecc918fdeb806038c140f4877ba67f..69cf600ecff4b40e41c5a031fd456c494926f455 100644 (file)
@@ -442,12 +442,12 @@ Non-nil means always go to the next Octave code line after sending."
     ;; disadvantages:
     ;; - changes to octave-block-offset wouldn't take effect immediately.
     ;; - edebug wouldn't show the use of this variable.
-    (`(:elem . basic) octave-block-offset)
+    ('(:elem . basic) octave-block-offset)
     (`(:list-intro . ,(or "global" "persistent")) t)
     ;; Since "case" is in the same BNF rules as switch..end, SMIE by default
     ;; aligns it with "switch".
-    (`(:before . "case") (if (not (smie-rule-sibling-p)) octave-block-offset))
-    (`(:after . ";")
+    ('(:before . "case") (if (not (smie-rule-sibling-p)) octave-block-offset))
+    ('(:after . ";")
      (if (apply #'smie-rule-parent-p octave--block-offset-keywords)
          (smie-rule-parent octave-block-offset)
        ;; For (invalid) code between switch and case.
@@ -1652,11 +1652,11 @@ code line."
       ;;
       ;; Return the value according to style.
       (pcase octave-eldoc-message-style
-        (`auto (if (< (length oneline) (window-width (minibuffer-window)))
+        ('auto (if (< (length oneline) (window-width (minibuffer-window)))
                    oneline
                  multiline))
-        (`oneline oneline)
-        (`multiline multiline)))))
+        ('oneline oneline)
+        ('multiline multiline)))))
 
 (defcustom octave-help-buffer "*Octave Help*"
   "Buffer name for `octave-help'."
index 7d055b735d61c81d1539df2d3f562b3d2e43fa28..5d3aa3cb84078d0539b66bd581bff54be97aabe5 100644 (file)
@@ -140,7 +140,7 @@ That is, regardless of where in the line point is at the time."
    opascal-directives)
   "OPascal4 keywords.")
 
-(defconst opascal-previous-terminators `(semicolon comma)
+(defconst opascal-previous-terminators '(semicolon comma)
   "Expression/statement terminators that denote a previous expression.")
 
 (defconst opascal-comments
@@ -186,7 +186,7 @@ are followed by an expression.")
   `(except finally ,@opascal-visibilities)
   "Statements that mark mid sections of the enclosing block.")
 
-(defconst opascal-end-block-statements `(end until)
+(defconst opascal-end-block-statements '(end until)
   "Statements that end block sections.")
 
 (defconst opascal-match-block-statements
@@ -210,7 +210,7 @@ are followed by an expression.")
   '(interface implementation program library package)
   "Unit sections within which the indent is 0.")
 
-(defconst opascal-use-clauses `(uses requires exports contains)
+(defconst opascal-use-clauses '(uses requires exports contains)
   "Statements that refer to foreign symbols.")
 
 (defconst opascal-unit-statements
index b530c61f9749a4668cdbab1f9dfa946c9d1cedd4..6a818542cfa31389f8b61ede4733ea51fc76e7ef 100644 (file)
@@ -942,13 +942,13 @@ This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24."
 
 (defun prolog-smie-rules (kind token)
   (pcase (cons kind token)
-    (`(:elem . basic) prolog-indent-width)
+    ('(:elem . basic) prolog-indent-width)
     ;; The list of arguments can never be on a separate line!
     (`(:list-intro . ,_) t)
     ;; When we don't know how to indent an empty line, assume the most
     ;; likely token will be ";".
-    (`(:elem . empty-line-token) ";")
-    (`(:after . ".") '(column . 0)) ;; To work around smie-closer-alist.
+    ('(:elem . empty-line-token) ";")
+    ('(:after . ".") '(column . 0)) ;; To work around smie-closer-alist.
     ;; Allow indentation of if-then-else as:
     ;;    (   test
     ;;    ->  thenrule
@@ -977,7 +977,7 @@ This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24."
                       (smie-indent-backward-token)
                       (smie-rule-bolp))))
        prolog-indent-width))
-    (`(:after . ";")
+    ('(:after . ";")
      ;; Align with same-line comment as in:
      ;;   ;   %% Toto
      ;;       foo
@@ -989,7 +989,7 @@ This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24."
             ;; Only do it for small offsets, since the comment may actually be
             ;; an "end-of-line" comment at comment-column!
             (if (<= offset prolog-indent-width) offset))))
-    (`(:after . ",")
+    ('(:after . ",")
      ;; Special indent for:
      ;;    foopredicate(x) :- !,
      ;;        toto.
@@ -998,7 +998,7 @@ This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24."
             (smie-indent-backward-token) ;Skip !
             (equal ":-" (car (smie-indent-backward-token))))
           (smie-rule-parent prolog-indent-width)))
-    (`(:after . ":-")
+    ('(:after . ":-")
      (if (bolp)
          (save-excursion
            (smie-indent-forward-token)
@@ -1007,7 +1007,7 @@ This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24."
                prolog-indent-width
              (min prolog-indent-width (current-column))))
        prolog-indent-width))
-    (`(:after . "-->") prolog-indent-width)))
+    ('(:after . "-->") prolog-indent-width)))
 
 \f
 ;;-------------------------------------------------------------------
index 92d673d4498eded3c2e0f72eda01c1df9db80f6f..5f29e26ab4d052e0b098d0c05276098034db82c4 100644 (file)
@@ -458,9 +458,9 @@ If nil, use `temporary-file-directory'."
 
 (defun ps-mode-smie-rules (kind token)
   (pcase (cons kind token)
-    (`(:after . "<") (when (smie-rule-next-p "<") 0))
-    (`(:elem . basic) ps-mode-tab)
-    (`(:close-all . ">") t)
+    ('(:after . "<") (when (smie-rule-next-p "<") 0))
+    ('(:elem . basic) ps-mode-tab)
+    ('(:close-all . ">") t)
     (`(:list-intro . ,_) t)))
 
 ;;;###autoload
index c55b69e33ecb690cfb1cbf7d7134295dd6394f77..654a0d3aea77451df1d4a0f6d3343bc6fb4ad584 100644 (file)
@@ -342,7 +342,7 @@ It returns a file name which can be used directly as argument of
     (substitute-key-definition 'complete-symbol 'completion-at-point
                                map global-map)
     (easy-menu-define python-menu map "Python Mode menu"
-      `("Python"
+      '("Python"
         :help "Python-specific Features"
         ["Shift region left" python-indent-shift-left :active mark-active
          :help "Shift region left by a single indentation step"]
@@ -469,13 +469,13 @@ This variant of `rx' supports common Python named REGEXPS."
 (eval-and-compile
   (defun python-syntax--context-compiler-macro (form type &optional syntax-ppss)
     (pcase type
-      (`'comment
+      (''comment
        `(let ((ppss (or ,syntax-ppss (syntax-ppss))))
           (and (nth 4 ppss) (nth 8 ppss))))
-      (`'string
+      (''string
        `(let ((ppss (or ,syntax-ppss (syntax-ppss))))
           (and (nth 3 ppss) (nth 8 ppss))))
-      (`'paren
+      (''paren
        `(nth 1 (or ,syntax-ppss (syntax-ppss))))
       (_ form))))
 
@@ -486,9 +486,9 @@ character address of the specified TYPE."
   (declare (compiler-macro python-syntax--context-compiler-macro))
   (let ((ppss (or syntax-ppss (syntax-ppss))))
     (pcase type
-      (`comment (and (nth 4 ppss) (nth 8 ppss)))
-      (`string (and (nth 3 ppss) (nth 8 ppss)))
-      (`paren (nth 1 ppss))
+      ('comment (and (nth 4 ppss) (nth 8 ppss)))
+      ('string (and (nth 3 ppss) (nth 8 ppss)))
+      ('paren (nth 1 ppss))
       (_ nil))))
 
 (defun python-syntax-context-type (&optional syntax-ppss)
@@ -4015,11 +4015,11 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'."
             ;; is NIL means to not add any newlines for start or end
             ;; of docstring.  See `python-fill-docstring-style' for a
             ;; graphic idea of each style.
-            (`django (cons 1 1))
-            (`onetwo (and multi-line-p (cons 1 2)))
-            (`pep-257 (and multi-line-p (cons nil 2)))
-            (`pep-257-nn (and multi-line-p (cons nil 1)))
-            (`symmetric (and multi-line-p (cons 1 1)))))
+            ('django (cons 1 1))
+            ('onetwo (and multi-line-p (cons 1 2)))
+            ('pep-257 (and multi-line-p (cons nil 2)))
+            ('pep-257-nn (and multi-line-p (cons nil 1)))
+            ('symmetric (and multi-line-p (cons 1 1)))))
          (fill-paragraph-function))
     (save-restriction
       (narrow-to-region str-start-pos str-end-pos)
@@ -5252,7 +5252,7 @@ configuration could be:
 By default messages are considered errors."
   :version "26.1"
   :group 'python-flymake
-  :type `(alist :key-type (regexp)
+  :type '(alist :key-type (regexp)
                 :value-type (symbol)))
 
 (defvar-local python--flymake-proc nil)
@@ -5414,7 +5414,7 @@ REPORT-FN is Flymake's callback function."
 
   (add-to-list
    'hs-special-modes-alist
-   `(python-mode
+   '(python-mode
      "\\s-*\\_<\\(?:def\\|class\\)\\_>"
      ;; Use the empty string as end regexp so it doesn't default to
      ;; "\\s)".  This way parens at end of defun are properly hidden.
index 9256dfc17b5bdf163dc9f0c006728f2411da9b93..2f68f004e7b10b76e4a45edd7a345e001e6ee424 100644 (file)
@@ -586,12 +586,12 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
 
 (defun ruby-smie-rules (kind token)
   (pcase (cons kind token)
-    (`(:elem . basic) ruby-indent-level)
+    ('(:elem . basic) ruby-indent-level)
     ;; "foo" "bar" is the concatenation of the two strings, so the second
     ;; should be aligned with the first.
-    (`(:elem . args) (if (looking-at "\\s\"") 0))
+    ('(:elem . args) (if (looking-at "\\s\"") 0))
     ;; (`(:after . ",") (smie-rule-separator kind))
-    (`(:before . ";")
+    ('(:before . ";")
      (cond
       ((smie-rule-parent-p "def" "begin" "do" "class" "module" "for"
                            "while" "until" "unless"
@@ -638,12 +638,12 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
        ;; because we want to reject hanging tokens at bol, too.
        (unless (or (eolp) (forward-comment 1))
          (cons 'column (current-column)))))
-    (`(:before . " @ ")
+    ('(:before . " @ ")
      (save-excursion
        (skip-chars-forward " \t")
        (cons 'column (current-column))))
-    (`(:before . "do") (ruby-smie--indent-to-stmt))
-    (`(:before . ".")
+    ('(:before . "do") (ruby-smie--indent-to-stmt))
+    ('(:before . ".")
      (if (smie-rule-sibling-p)
          (and ruby-align-chained-calls 0)
        (smie-backward-sexp ".")
@@ -651,7 +651,7 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
                         ruby-indent-level))))
     (`(:before . ,(or "else" "then" "elsif" "rescue" "ensure"))
      (smie-rule-parent))
-    (`(:before . "when")
+    ('(:before . "when")
      ;; Align to the previous `when', but look up the virtual
      ;; indentation of `case'.
      (if (smie-rule-sibling-p) 0 (smie-rule-parent)))
@@ -668,7 +668,7 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
        (if (ruby-smie--indent-to-stmt-p token)
            (ruby-smie--indent-to-stmt)
          (cons 'column (current-column)))))
-    (`(:before . "iuwu-mod")
+    ('(:before . "iuwu-mod")
      (smie-rule-parent ruby-indent-level))
     ))
 
@@ -756,9 +756,9 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
 The style of the comment is controlled by `ruby-encoding-magic-comment-style'."
   (let ((encoding-magic-comment-template
          (pcase ruby-encoding-magic-comment-style
-           (`ruby "# coding: %s")
-           (`emacs "# -*- coding: %s -*-")
-           (`custom
+           ('ruby "# coding: %s")
+           ('emacs "# -*- coding: %s -*-")
+           ('custom
             ruby-custom-encoding-magic-comment-template))))
     (insert
      (format encoding-magic-comment-template encoding)
index 46c9e6ee6594a745d1d01ded14f5887c3a45ee65..6ec05299e344b1ae6ea55155017ee45161616fae 100644 (file)
@@ -345,7 +345,7 @@ naming the shell."
   :group 'sh-script)
 
 (defcustom sh-imenu-generic-expression
-  `((sh
+  '((sh
      . ((nil
         ;; function FOO
         ;; function FOO()
@@ -1022,7 +1022,7 @@ subshells can nest."
         ;; unescape " inside a $( ... ) construct.
         (pcase (char-after)
           (?\' (pcase state
-                 (`double-quote nil)
+                 ('double-quote nil)
                  (_ (forward-char 1)
                     ;; FIXME: mark skipped double quotes as punctuation syntax.
                     (let ((spos (point)))
@@ -1035,12 +1035,12 @@ subshells can nest."
                                             'syntax-table '(1)))))))))
           (?\\ (forward-char 1))
           (?\" (pcase state
-                 (`double-quote (setq state (pop states)))
+                 ('double-quote (setq state (pop states)))
                  (_ (push state states) (setq state 'double-quote)))
                (if state (put-text-property (point) (1+ (point))
                                             'syntax-table '(1))))
           (?\` (pcase state
-                 (`backquote (setq state (pop states)))
+                 ('backquote (setq state (pop states)))
                  (_ (push state states) (setq state 'backquote))))
           (?\$ (if (not (eq (char-after (1+ (point))) ?\())
                    nil
@@ -1048,10 +1048,10 @@ subshells can nest."
                  (pcase state
                    (_ (push state states) (setq state 'code)))))
           (?\( (pcase state
-                 (`double-quote nil)
+                 ('double-quote nil)
                  (_ (push state states) (setq state 'code))))
           (?\) (pcase state
-                 (`double-quote nil)
+                 ('double-quote nil)
                  (_ (setq state (pop states)))))
           (_ (error "Internal error in sh-font-lock-quoted-subshell")))
         (forward-char 1))
@@ -1601,7 +1601,7 @@ with your script for an edit-interpret-debug cycle."
   (setq-local comint-prompt-regexp "^[ \t]*")
   (setq-local imenu-case-fold-search nil)
   (setq font-lock-defaults
-       `((sh-font-lock-keywords
+       '((sh-font-lock-keywords
           sh-font-lock-keywords-1 sh-font-lock-keywords-2)
          nil nil
          ((?/ . "w") (?~ . "w") (?. . "w") (?- . "w") (?_ . "w")) nil
@@ -2035,8 +2035,8 @@ May return nil if the line should not be treated as continued."
 
 (defun sh-smie-sh-rules (kind token)
   (pcase (cons kind token)
-    (`(:elem . basic) sh-basic-offset)
-    (`(:after . "case-)") (- (sh-var-value 'sh-indent-for-case-alt)
+    ('(:elem . basic) sh-basic-offset)
+    ('(:after . "case-)") (- (sh-var-value 'sh-indent-for-case-alt)
                              (sh-var-value 'sh-indent-for-case-label)))
     (`(:before . ,(or "(" "{" "[" "while" "if" "for" "case"))
      (if (not (smie-rule-prev-p "&&" "||" "|"))
@@ -2069,17 +2069,17 @@ May return nil if the line should not be treated as continued."
                       (smie-indent-virtual)))))
 
     ;; Attempt at backward compatibility with the old config variables.
-    (`(:before . "fi") (sh-var-value 'sh-indent-for-fi))
-    (`(:before . "done") (sh-var-value 'sh-indent-for-done))
-    (`(:after . "else") (sh-var-value 'sh-indent-after-else))
-    (`(:after . "if") (sh-var-value 'sh-indent-after-if))
-    (`(:before . "then") (sh-var-value 'sh-indent-for-then))
-    (`(:before . "do") (sh-var-value 'sh-indent-for-do))
-    (`(:after . "do")
+    ('(:before . "fi") (sh-var-value 'sh-indent-for-fi))
+    ('(:before . "done") (sh-var-value 'sh-indent-for-done))
+    ('(:after . "else") (sh-var-value 'sh-indent-after-else))
+    ('(:after . "if") (sh-var-value 'sh-indent-after-if))
+    ('(:before . "then") (sh-var-value 'sh-indent-for-then))
+    ('(:before . "do") (sh-var-value 'sh-indent-for-do))
+    ('(:after . "do")
      (sh-var-value (if (smie-rule-hanging-p)
                        'sh-indent-after-loop-construct 'sh-indent-after-do)))
     ;; sh-indent-after-done: aligned completely differently.
-    (`(:after . "in") (sh-var-value 'sh-indent-for-case-label))
+    ('(:after . "in") (sh-var-value 'sh-indent-for-case-label))
     ;; sh-indent-for-continuation: Line continuations are handled differently.
     (`(:after . ,(or "(" "{" "["))
      (if (not (looking-at ".[ \t]*[^\n \t#]"))
@@ -2244,12 +2244,12 @@ Point should be before the newline."
 
 (defun sh-smie-rc-rules (kind token)
   (pcase (cons kind token)
-    (`(:elem . basic) sh-basic-offset)
+    ('(:elem . basic) sh-basic-offset)
     ;; (`(:after . "case") (or sh-basic-offset smie-indent-basic))
-    (`(:after . ";")
+    ('(:after . ";")
      (if (smie-rule-parent-p "case")
          (smie-rule-parent (sh-var-value 'sh-indent-after-case))))
-    (`(:before . "{")
+    ('(:before . "{")
      (save-excursion
        (when (sh-smie--rc-after-special-arg-p)
          `(column . ,(current-column)))))
index 1cdae35ac302bdd3dc568f0d2d27e6db55883326..51f78bd840b03742cd697ada5cfb6bb75a15ba2d 100644 (file)
@@ -3209,21 +3209,21 @@ function like this: (sql-get-login \\='user \\='password \\='database)."
   (dolist (w what)
     (let ((plist (cdr-safe w)))
       (pcase (or (car-safe w) w)
-        (`user
+        ('user
          (sql-get-login-ext 'sql-user "User: " 'sql-user-history plist))
 
-        (`password
+        ('password
          (setq-default sql-password
                        (read-passwd "Password: " nil (sql-default-value 'sql-password))))
 
-        (`server
+        ('server
          (sql-get-login-ext 'sql-server "Server: " 'sql-server-history plist))
 
-        (`database
+        ('database
          (sql-get-login-ext 'sql-database "Database: "
                             'sql-database-history plist))
 
-        (`port
+        ('port
          (sql-get-login-ext 'sql-port "Port: "
                             nil (append '(:number t) plist)))))))
 
@@ -3332,20 +3332,20 @@ server/database name."
                           (sql-get-product-feature (or product sql-product) :sqli-login)
                           (lambda (token plist)
                               (pcase token
-                                (`user
+                                ('user
                                  (unless (string= "" sql-user)
                                    (list "/" sql-user)))
-                                (`port
+                                ('port
                                  (unless (or (not (numberp sql-port))
                                              (= 0 sql-port))
                                    (list ":" (number-to-string sql-port))))
-                                (`server
+                                ('server
                                  (unless (string= "" sql-server)
                                    (list "."
                                          (if (plist-member plist :file)
                                              (file-name-nondirectory sql-server)
                                            sql-server))))
-                                (`database
+                                ('database
                                  (unless (string= "" sql-database)
                                    (list "@"
                                          (if (plist-member plist :file)
@@ -4314,11 +4314,11 @@ is specified in the connection settings."
                       (mapcar
                        (lambda (v)
                          (pcase (car v)
-                           (`sql-user     'user)
-                           (`sql-password 'password)
-                           (`sql-server   'server)
-                           (`sql-database 'database)
-                           (`sql-port     'port)
+                           ('sql-user     'user)
+                           ('sql-password 'password)
+                           ('sql-server   'server)
+                           ('sql-database 'database)
+                           ('sql-port     'port)
                            (s             s)))
                        connect-set))
 
@@ -4382,11 +4382,11 @@ optionally is saved to the user's init file."
                        `(product ,@login)
                        (lambda (token _plist)
                            (pcase token
-                             (`product  `(sql-product  ',product))
-                             (`user     `(sql-user     ,user))
-                             (`database `(sql-database ,database))
-                             (`server   `(sql-server   ,server))
-                             (`port     `(sql-port     ,port)))))))
+                             ('product  `(sql-product  ',product))
+                             ('user     `(sql-user     ,user))
+                             ('database `(sql-database ,database))
+                             ('server   `(sql-server   ,server))
+                             ('port     `(sql-port     ,port)))))))
 
           (setq alist (append alist (list connect)))
 
index 665776190288fac37f04caef65fa9de0c2a95e62..f26576722ca7a86291b0526f0308ad486d958faf 100644 (file)
@@ -238,7 +238,7 @@ STRING should be given if the last search was by `string-match' on STRING."
   (unless (featurep 'xemacs)
     (unless (fboundp 'region-active-p)
       (defmacro region-active-p ()
-       `(and transient-mark-mode mark-active))))
+       '(and transient-mark-mode mark-active))))
   )
 
 ;; Provide a regular expression optimization routine, using regexp-opt
@@ -250,7 +250,7 @@ STRING should be given if the last search was by `string-match' on STRING."
       (if (fboundp 'regexp-opt)
           ;; regexp-opt is defined, does it take 3 or 2 arguments?
           (if (fboundp 'function-max-args)
-              (let ((args (function-max-args `regexp-opt)))
+              (let ((args (function-max-args 'regexp-opt)))
                 (cond
                  ((eq args 3)  ; It takes 3
                   (condition-case nil  ; Hide this defun from emacses
@@ -382,7 +382,7 @@ wherever possible, since it is slow."
        ((vectorp menu)
         (let ((i 0) (out []))
           (while (< i (length menu))
-            (if (equal `:help (aref menu i))
+            (if (equal :help (aref menu i))
                 (setq i (+ 2 i))
               (setq out (vconcat out (vector (aref menu i)))
                     i (1+ i))))
@@ -1432,7 +1432,7 @@ If set will become buffer local.")
       (define-key map [(meta delete)] 'kill-word))
     (define-key map "\M-\C-b"  'electric-verilog-backward-sexp)
     (define-key map "\M-\C-f"  'electric-verilog-forward-sexp)
-    (define-key map "\M-\r"    `electric-verilog-terminate-and-indent)
+    (define-key map "\M-\r"    'electric-verilog-terminate-and-indent)
     (define-key map "\M-\t"    (if (fboundp 'completion-at-point)
                                    'completion-at-point 'verilog-complete-word))
     (define-key map "\M-?"     (if (fboundp 'completion-help-at-point)
@@ -1481,35 +1481,35 @@ If set will become buffer local.")
         (setq verilog-tool 'verilog-linter)
         (verilog-set-compile-command))
        :style radio
-       :selected (equal verilog-tool `verilog-linter)
+       :selected (equal verilog-tool 'verilog-linter)
        :help "When invoking compilation, use lint checker"]
       ["Coverage"
        (progn
         (setq verilog-tool 'verilog-coverage)
         (verilog-set-compile-command))
        :style radio
-       :selected (equal verilog-tool `verilog-coverage)
+       :selected (equal verilog-tool 'verilog-coverage)
        :help "When invoking compilation, annotate for coverage"]
       ["Simulator"
        (progn
         (setq verilog-tool 'verilog-simulator)
         (verilog-set-compile-command))
        :style radio
-       :selected (equal verilog-tool `verilog-simulator)
+       :selected (equal verilog-tool 'verilog-simulator)
        :help "When invoking compilation, interpret Verilog source"]
       ["Compiler"
        (progn
         (setq verilog-tool 'verilog-compiler)
         (verilog-set-compile-command))
        :style radio
-       :selected (equal verilog-tool `verilog-compiler)
+       :selected (equal verilog-tool 'verilog-compiler)
        :help "When invoking compilation, compile Verilog source"]
       ["Preprocessor"
        (progn
         (setq verilog-tool 'verilog-preprocessor)
         (verilog-set-compile-command))
        :style radio
-       :selected (equal verilog-tool `verilog-preprocessor)
+       :selected (equal verilog-tool 'verilog-preprocessor)
        :help "When invoking compilation, preprocess Verilog source, see also `verilog-preprocess'"]
       )
      ("Move"
@@ -1728,29 +1728,29 @@ If set will become buffer local.")
  :enable-function (lambda () (not (verilog-in-comment-or-string-p))))
 (verilog-define-abbrev verilog-mode-abbrev-table "class" "" 'verilog-sk-ovm-class)
 (verilog-define-abbrev verilog-mode-abbrev-table "always" "" 'verilog-sk-always)
-(verilog-define-abbrev verilog-mode-abbrev-table "begin" nil `verilog-sk-begin)
-(verilog-define-abbrev verilog-mode-abbrev-table "case" "" `verilog-sk-case)
-(verilog-define-abbrev verilog-mode-abbrev-table "for" "" `verilog-sk-for)
-(verilog-define-abbrev verilog-mode-abbrev-table "generate" "" `verilog-sk-generate)
-(verilog-define-abbrev verilog-mode-abbrev-table "initial" "" `verilog-sk-initial)
-(verilog-define-abbrev verilog-mode-abbrev-table "fork" "" `verilog-sk-fork)
-(verilog-define-abbrev verilog-mode-abbrev-table "module" "" `verilog-sk-module)
-(verilog-define-abbrev verilog-mode-abbrev-table "primitive" "" `verilog-sk-primitive)
-(verilog-define-abbrev verilog-mode-abbrev-table "repeat" "" `verilog-sk-repeat)
-(verilog-define-abbrev verilog-mode-abbrev-table "specify" "" `verilog-sk-specify)
-(verilog-define-abbrev verilog-mode-abbrev-table "task" "" `verilog-sk-task)
-(verilog-define-abbrev verilog-mode-abbrev-table "while" "" `verilog-sk-while)
-(verilog-define-abbrev verilog-mode-abbrev-table "casex" "" `verilog-sk-casex)
-(verilog-define-abbrev verilog-mode-abbrev-table "casez" "" `verilog-sk-casez)
-(verilog-define-abbrev verilog-mode-abbrev-table "if" "" `verilog-sk-if)
-(verilog-define-abbrev verilog-mode-abbrev-table "else if" "" `verilog-sk-else-if)
-(verilog-define-abbrev verilog-mode-abbrev-table "assign" "" `verilog-sk-assign)
-(verilog-define-abbrev verilog-mode-abbrev-table "function" "" `verilog-sk-function)
-(verilog-define-abbrev verilog-mode-abbrev-table "input" "" `verilog-sk-input)
-(verilog-define-abbrev verilog-mode-abbrev-table "output" "" `verilog-sk-output)
-(verilog-define-abbrev verilog-mode-abbrev-table "inout" "" `verilog-sk-inout)
-(verilog-define-abbrev verilog-mode-abbrev-table "wire" "" `verilog-sk-wire)
-(verilog-define-abbrev verilog-mode-abbrev-table "reg" "" `verilog-sk-reg)
+(verilog-define-abbrev verilog-mode-abbrev-table "begin" nil 'verilog-sk-begin)
+(verilog-define-abbrev verilog-mode-abbrev-table "case" "" 'verilog-sk-case)
+(verilog-define-abbrev verilog-mode-abbrev-table "for" "" 'verilog-sk-for)
+(verilog-define-abbrev verilog-mode-abbrev-table "generate" "" 'verilog-sk-generate)
+(verilog-define-abbrev verilog-mode-abbrev-table "initial" "" 'verilog-sk-initial)
+(verilog-define-abbrev verilog-mode-abbrev-table "fork" "" 'verilog-sk-fork)
+(verilog-define-abbrev verilog-mode-abbrev-table "module" "" 'verilog-sk-module)
+(verilog-define-abbrev verilog-mode-abbrev-table "primitive" "" 'verilog-sk-primitive)
+(verilog-define-abbrev verilog-mode-abbrev-table "repeat" "" 'verilog-sk-repeat)
+(verilog-define-abbrev verilog-mode-abbrev-table "specify" "" 'verilog-sk-specify)
+(verilog-define-abbrev verilog-mode-abbrev-table "task" "" 'verilog-sk-task)
+(verilog-define-abbrev verilog-mode-abbrev-table "while" "" 'verilog-sk-while)
+(verilog-define-abbrev verilog-mode-abbrev-table "casex" "" 'verilog-sk-casex)
+(verilog-define-abbrev verilog-mode-abbrev-table "casez" "" 'verilog-sk-casez)
+(verilog-define-abbrev verilog-mode-abbrev-table "if" "" 'verilog-sk-if)
+(verilog-define-abbrev verilog-mode-abbrev-table "else if" "" 'verilog-sk-else-if)
+(verilog-define-abbrev verilog-mode-abbrev-table "assign" "" 'verilog-sk-assign)
+(verilog-define-abbrev verilog-mode-abbrev-table "function" "" 'verilog-sk-function)
+(verilog-define-abbrev verilog-mode-abbrev-table "input" "" 'verilog-sk-input)
+(verilog-define-abbrev verilog-mode-abbrev-table "output" "" 'verilog-sk-output)
+(verilog-define-abbrev verilog-mode-abbrev-table "inout" "" 'verilog-sk-inout)
+(verilog-define-abbrev verilog-mode-abbrev-table "wire" "" 'verilog-sk-wire)
+(verilog-define-abbrev verilog-mode-abbrev-table "reg" "" 'verilog-sk-reg)
 
 ;;
 ;;  Macros
@@ -2402,7 +2402,7 @@ find the errors."
 (defconst verilog-assignment-operator-re
   (eval-when-compile
     (verilog-regexp-opt
-     `(
+     '(
        ;; blocking assignment_operator
        "=" "+=" "-=" "*=" "/=" "%=" "&=" "|=" "^=" "<<=" ">>=" "<<<=" ">>>="
        ;; non blocking assignment operator
@@ -2478,7 +2478,7 @@ find the errors."
          verilog-directive-re "\\)\\|\\("
          (eval-when-compile
            (verilog-regexp-words
-            `( "begin"
+            '( "begin"
                "else"
                "end"
                "endcase"
@@ -2531,7 +2531,7 @@ find the errors."
   (eval-when-compile
     (verilog-regexp-words
 
-     `("end"      ; closes begin
+     '("end"      ; closes begin
        "endcase"  ; closes any of case, casex casez or randcase
        "join" "join_any" "join_none"  ; closes fork
        "endclass"
@@ -2601,7 +2601,7 @@ find the errors."
 (defconst verilog-beg-block-re
   (eval-when-compile
     (verilog-regexp-words
-     `("begin"
+     '("begin"
        "case" "casex" "casez" "randcase"
        "clocking"
        "generate"
@@ -2677,7 +2677,7 @@ find the errors."
 (defconst verilog-nameable-item-re
   (eval-when-compile
     (verilog-regexp-words
-     `("begin"
+     '("begin"
        "fork"
        "join" "join_any" "join_none"
        "end"
@@ -2704,12 +2704,12 @@ find the errors."
 (defconst verilog-declaration-opener
   (eval-when-compile
     (verilog-regexp-words
-     `("module" "begin" "task" "function"))))
+     '("module" "begin" "task" "function"))))
 
 (defconst verilog-declaration-prefix-re
   (eval-when-compile
     (verilog-regexp-words
-     `(
+     '(
        ;; port direction
        "inout" "input" "output" "ref"
        ;; changeableness
@@ -2722,7 +2722,7 @@ find the errors."
 (defconst verilog-declaration-core-re
   (eval-when-compile
     (verilog-regexp-words
-     `(
+     '(
        ;; port direction (by themselves)
        "inout" "input" "output"
        ;; integer_atom_type
@@ -2764,25 +2764,25 @@ find the errors."
 (defconst verilog-declaration-re-1-no-macro (concat "^" verilog-declaration-re-2-no-macro))
 
 (defconst verilog-defun-re
-  (eval-when-compile (verilog-regexp-words `("macromodule" "module" "class" "program" "interface" "package" "primitive" "config"))))
+  (eval-when-compile (verilog-regexp-words '("macromodule" "module" "class" "program" "interface" "package" "primitive" "config"))))
 (defconst verilog-end-defun-re
-  (eval-when-compile (verilog-regexp-words `("endmodule" "endclass" "endprogram" "endinterface" "endpackage" "endprimitive" "endconfig"))))
+  (eval-when-compile (verilog-regexp-words '("endmodule" "endclass" "endprogram" "endinterface" "endpackage" "endprimitive" "endconfig"))))
 (defconst verilog-zero-indent-re
   (concat verilog-defun-re "\\|" verilog-end-defun-re))
 (defconst verilog-inst-comment-re
-  (eval-when-compile (verilog-regexp-words `("Outputs" "Inouts" "Inputs" "Interfaces" "Interfaced"))))
+  (eval-when-compile (verilog-regexp-words '("Outputs" "Inouts" "Inputs" "Interfaces" "Interfaced"))))
 
 (defconst verilog-behavioral-block-beg-re
-  (eval-when-compile (verilog-regexp-words `("initial" "final" "always" "always_comb" "always_latch" "always_ff"
-                                            "function" "task"))))
+  (eval-when-compile (verilog-regexp-words '("initial" "final" "always" "always_comb" "always_latch" "always_ff"
+                                             "function" "task"))))
 (defconst verilog-coverpoint-re "\\w+\\s*:\\s*\\(coverpoint\\|cross\\constraint\\)"  )
 (defconst verilog-in-constraint-re  ; keywords legal in constraint blocks starting a statement/block
-  (eval-when-compile (verilog-regexp-words `("if" "else" "solve" "foreach"))))
+  (eval-when-compile (verilog-regexp-words '("if" "else" "solve" "foreach"))))
 
 (defconst verilog-indent-re
   (eval-when-compile
     (verilog-regexp-words
-     `(
+     '(
        "{"
        "always" "always_latch" "always_ff" "always_comb"
        "begin" "end"
@@ -2866,28 +2866,28 @@ find the errors."
 (defconst verilog-defun-level-not-generate-re
   (eval-when-compile
     (verilog-regexp-words
-     `( "module" "macromodule" "primitive" "class" "program"
-       "interface" "package" "config"))))
+     '( "module" "macromodule" "primitive" "class" "program"
+        "interface" "package" "config"))))
 
 (defconst verilog-defun-level-re
   (eval-when-compile
     (verilog-regexp-words
      (append
-      `( "module" "macromodule" "primitive" "class" "program"
-        "interface" "package" "config")
-      `( "initial" "final" "always" "always_comb" "always_ff"
-        "always_latch" "endtask" "endfunction" )))))
+      '( "module" "macromodule" "primitive" "class" "program"
+         "interface" "package" "config")
+      '( "initial" "final" "always" "always_comb" "always_ff"
+         "always_latch" "endtask" "endfunction" )))))
 
 (defconst verilog-defun-level-generate-only-re
   (eval-when-compile
     (verilog-regexp-words
-     `( "initial" "final" "always" "always_comb" "always_ff"
-       "always_latch" "endtask" "endfunction" ))))
+     '( "initial" "final" "always" "always_comb" "always_ff"
+        "always_latch" "endtask" "endfunction" ))))
 
 (defconst verilog-cpp-level-re
   (eval-when-compile
     (verilog-regexp-words
-     `(
+     '(
        "endmodule" "endprimitive" "endinterface" "endpackage" "endprogram" "endclass"
        ))))
 
@@ -2908,7 +2908,7 @@ find the errors."
 (defconst verilog-basic-complete-re
   (eval-when-compile
     (verilog-regexp-words
-     `(
+     '(
        "always" "assign" "always_latch" "always_ff" "always_comb" "constraint"
        "import" "initial" "final" "module" "macromodule" "repeat" "randcase" "while"
        "if" "for" "forever" "foreach" "else" "parameter" "do" "localparam" "assert"
@@ -2937,7 +2937,7 @@ find the errors."
      ;; single words
      "\\(?:"
      (verilog-regexp-words
-      `("`__FILE__"
+      '("`__FILE__"
        "`__LINE__"
        "`celldefine"
        "`else"
@@ -3492,7 +3492,7 @@ either is ok to parse as a non-comment, or `verilog-insert' was used."
     (remove-text-properties (point-min) (point-max) '(face nil))
     (while (not (eobp))
       (cond ((get-text-property (point) 'v-cmts)
-            (put-text-property (point) (1+ (point)) `face 'underline)
+            (put-text-property (point) (1+ (point)) 'face 'underline)
             ;;(if dbg (setq dbg (concat dbg (format "  v-cmts at %S\n" (point)))))
             (forward-char 1))
            (t
@@ -5237,11 +5237,11 @@ Useful for creating tri's and other expanded fields."
                                                       compile-command))
        (lint-word1    (verilog-string-replace-matches "\\s .*$" "" nil nil
                                                       verilog-linter)))
-    (cond ((equal compile-word1 "surelint") `surelint)
-         ((equal compile-word1 "verilint") `verilint)
-         ((equal lint-word1 "surelint")    `surelint)
-         ((equal lint-word1 "verilint")    `verilint)
-          (t `surelint))))  ; back compatibility
+    (cond ((equal compile-word1 "surelint") 'surelint)
+         ((equal compile-word1 "verilint") 'verilint)
+         ((equal lint-word1 "surelint")    'surelint)
+         ((equal lint-word1 "verilint")    'verilint)
+          (t 'surelint))))  ; back compatibility
 
 (defun verilog-lint-off ()
   "Convert a Verilog linter warning line into a disable statement.
@@ -5255,9 +5255,9 @@ variables is used to determine which product is being used.
 See \\[verilog-surelint-off] and \\[verilog-verilint-off]."
   (interactive)
   (let ((linter (verilog-linter-name)))
-    (cond ((equal linter `surelint)
+    (cond ((equal linter 'surelint)
           (verilog-surelint-off))
-         ((equal linter `verilint)
+         ((equal linter 'verilint)
           (verilog-verilint-off))
          (t (error "Linter name not set")))))
 
@@ -5361,7 +5361,7 @@ FILENAME to find directory to run in, or defaults to `buffer-file-name'."
   (interactive
    (list
     (let ((default (verilog-expand-command verilog-preprocessor)))
-      (set (make-local-variable `verilog-preprocessor)
+      (set (make-local-variable 'verilog-preprocessor)
           (read-from-minibuffer "Run Preprocessor (like this): "
                                 default nil nil
                                 'verilog-preprocess-history default)))))
@@ -5457,7 +5457,7 @@ For proper results, multiple filenames need to be passed on the command
 line in bottom-up order."
   (unless noninteractive
     (error "Use verilog-batch-auto only with --batch"))  ; Otherwise we'd mess up buffer modes
-  (verilog-batch-execute-func `verilog-auto))
+  (verilog-batch-execute-func 'verilog-auto))
 
 (defun verilog-batch-delete-auto ()
   "For use with --batch, perform automatic deletion as a stand-alone tool.
@@ -5465,7 +5465,7 @@ This sets up the appropriate Verilog mode environment, deletes automatics
 with \\[verilog-delete-auto] on all command-line files, and saves the buffers."
   (unless noninteractive
     (error "Use verilog-batch-delete-auto only with --batch"))  ; Otherwise we'd mess up buffer modes
-  (verilog-batch-execute-func `verilog-delete-auto))
+  (verilog-batch-execute-func 'verilog-delete-auto))
 
 (defun verilog-batch-delete-trailing-whitespace ()
   "For use with --batch, perform whitespace deletion as a stand-alone tool.
@@ -5474,7 +5474,7 @@ whitespace with \\[verilog-delete-trailing-whitespace] on all
 command-line files, and saves the buffers."
   (unless noninteractive
     (error "Use verilog-batch-delete-trailing-whitespace only with --batch"))  ; Otherwise we'd mess up buffer modes
-  (verilog-batch-execute-func `verilog-delete-trailing-whitespace))
+  (verilog-batch-execute-func 'verilog-delete-trailing-whitespace))
 
 (defun verilog-batch-diff-auto ()
   "For use with --batch, perform automatic differences as a stand-alone tool.
@@ -5484,7 +5484,7 @@ if any differences are observed.  This is appropriate for adding to regressions
 to insure automatics are always properly maintained."
   (unless noninteractive
     (error "Use verilog-batch-diff-auto only with --batch"))  ; Otherwise we'd mess up buffer modes
-  (verilog-batch-execute-func `verilog-diff-auto t))
+  (verilog-batch-execute-func 'verilog-diff-auto t))
 
 (defun verilog-batch-inject-auto ()
   "For use with --batch, perform automatic injection as a stand-alone tool.
@@ -5494,7 +5494,7 @@ For proper results, multiple filenames need to be passed on the command
 line in bottom-up order."
   (unless noninteractive
     (error "Use verilog-batch-inject-auto only with --batch"))  ; Otherwise we'd mess up buffer modes
-  (verilog-batch-execute-func `verilog-inject-auto))
+  (verilog-batch-execute-func 'verilog-inject-auto))
 
 (defun verilog-batch-indent ()
   "For use with --batch, reindent an entire file as a stand-alone tool.
@@ -5502,7 +5502,7 @@ This sets up the appropriate Verilog mode environment, calls
 \\[verilog-indent-buffer] on all command-line files, and saves the buffers."
   (unless noninteractive
     (error "Use verilog-batch-indent only with --batch"))  ; Otherwise we'd mess up buffer modes
-  (verilog-batch-execute-func `verilog-indent-buffer))
+  (verilog-batch-execute-func 'verilog-indent-buffer))
 \f
 ;;; Indentation:
 ;;
@@ -7339,7 +7339,7 @@ will be completed at runtime and should not be added to this list.")
     ("xor"     "output"))
   "Map of direction for each positional argument to each gate primitive.")
 
-(defvar verilog-gate-keywords (mapcar `car verilog-gate-ios)
+(defvar verilog-gate-keywords (mapcar #'car verilog-gate-ios)
   "Keywords for gate primitives.")
 
 (defun verilog-string-diff (str1 str2)
@@ -8172,7 +8172,7 @@ Duplicate signals are also removed.  For example A[2] and A[1] become A[2:1]."
        sv-modport
        bus)
     ;; Shove signals so duplicated signals will be adjacent
-    (setq in-list (sort in-list `verilog-signals-sort-compare))
+    (setq in-list (sort in-list #'verilog-signals-sort-compare))
     (while in-list
       (setq sig (car in-list))
       ;; No current signal; form from existing details
@@ -8743,7 +8743,7 @@ Return an array of [outputs inouts inputs wire reg assign const]."
       (setq port (verilog-symbol-detick-denumber port))
       (setq sig  (if dotname port (verilog-symbol-detick-denumber sig)))
       (if vec (setq vec  (verilog-symbol-detick-denumber vec)))
-      (if multidim (setq multidim  (mapcar `verilog-symbol-detick-denumber multidim)))
+      (if multidim (setq multidim  (mapcar #'verilog-symbol-detick-denumber multidim)))
       (if mem (setq mem (verilog-symbol-detick-denumber mem)))
       (unless (or (not sig)
                   (equal sig ""))  ; Ignore .foo(1'b1) assignments
@@ -8997,7 +8997,7 @@ Outputs comments above subcell signals, for example:
                   submodi submoddecls)
              (cond
               (subprim
-               (setq submodi `primitive
+               (setq submodi 'primitive
                      submoddecls (verilog-decls-new nil nil nil nil nil nil nil nil nil)
                      comment (concat inst " of " submod))
                (verilog-backward-open-paren)
@@ -9652,7 +9652,7 @@ Use DEFAULT-DIR to anchor paths if non-nil."
        ((string-match "^\\+libext\\+\\(.*\\)" arg)
        (setq arg (match-string 1 arg))
        (while (string-match "\\([^+]+\\)\\+?\\(.*\\)" arg)
-         (verilog-add-list-unique `verilog-library-extensions
+         (verilog-add-list-unique 'verilog-library-extensions
                                   (match-string 1 arg))
          (setq arg (match-string 2 arg))))
        ;;
@@ -9664,7 +9664,7 @@ Use DEFAULT-DIR to anchor paths if non-nil."
        ;;
        ((or (string-match "^\\+incdir\\+\\(.*\\)" arg)  ; +incdir+dir
             (string-match "^-I\\(.*\\)" arg))   ; -Idir
-       (verilog-add-list-unique `verilog-library-directories
+       (verilog-add-list-unique 'verilog-library-directories
                                 (substitute-in-file-name (match-string 1 arg))))
        ;; Ignore
        ((equal "+librescan" arg))
@@ -9679,15 +9679,15 @@ Use DEFAULT-DIR to anchor paths if non-nil."
        (verilog-getopt-file (verilog-substitute-file-name-path arg default-dir) nil))
        ((equal next-param "-v")
        (setq next-param nil)
-       (verilog-add-list-unique `verilog-library-files
+       (verilog-add-list-unique 'verilog-library-files
                                 (verilog-substitute-file-name-path arg default-dir)))
        ((equal next-param "-y")
        (setq next-param nil)
-       (verilog-add-list-unique `verilog-library-directories
+       (verilog-add-list-unique 'verilog-library-directories
                                 (verilog-substitute-file-name-path arg default-dir)))
        ;; Filename
        ((string-match "^[^-+]" arg)
-       (verilog-add-list-unique `verilog-library-files
+       (verilog-add-list-unique 'verilog-library-files
                                 (verilog-substitute-file-name-path arg default-dir)))
        ;; Default - ignore; no warning
        ))))
@@ -9716,7 +9716,7 @@ Use DEFAULT-DIR to anchor paths if non-nil."
 (defun verilog-getopt-flags ()
   "Convert `verilog-library-flags' into standard library variables."
   ;; If the flags are local, then all the outputs should be local also
-  (when (local-variable-p `verilog-library-flags (current-buffer))
+  (when (local-variable-p 'verilog-library-flags (current-buffer))
     (mapc 'make-local-variable '(verilog-library-extensions
                                  verilog-library-directories
                                  verilog-library-files
@@ -9746,10 +9746,10 @@ unless it is already a member of the variable's list."
 (defun verilog-current-flags ()
   "Convert `verilog-library-flags' and similar variables to command line.
 Used for __FLAGS__ in `verilog-expand-command'."
-  (let ((cmd (mapconcat `concat verilog-library-flags " ")))
+  (let ((cmd (mapconcat #'concat verilog-library-flags " ")))
     (when (equal cmd "")
       (setq cmd (concat
-                "+libext+" (mapconcat `concat verilog-library-extensions "+")
+                "+libext+" (mapconcat #'concat verilog-library-extensions "+")
                 (mapconcat (lambda (i) (concat " -y " i " +incdir+" i))
                            verilog-library-directories "")
                 (mapconcat (lambda (i) (concat " -v " i))
@@ -9974,7 +9974,7 @@ variables to build the path.  With optional CHECK-EXT also check
           (while chkdirs
             (setq chkdir (expand-file-name (car chkdirs)
                                            (file-name-directory current))
-                  chkexts (if check-ext verilog-library-extensions `("")))
+                  chkexts (if check-ext verilog-library-extensions '("")))
             (while chkexts
               (setq fn (expand-file-name (concat filename (car chkexts))
                                          chkdir))
@@ -10133,7 +10133,7 @@ Return modi if successful, else print message unless IGNORE-ERROR is true."
   (set-buffer (if (bufferp (verilog-modi-file-or-buffer modi))
                  (verilog-modi-file-or-buffer modi)
                (find-file-noselect (verilog-modi-file-or-buffer modi))))
-  (or (equal major-mode `verilog-mode)  ; Put into Verilog mode to get syntax
+  (or (equal major-mode 'verilog-mode)  ; Put into Verilog mode to get syntax
       (verilog-mode))
   (goto-char (verilog-modi-get-point modi)))
 
@@ -10404,7 +10404,7 @@ When MODI is non-null, also add to modi-cache, for tracking."
          (t
           (error "Unsupported verilog-insert-definition direction: `%s'" direction))))
   (or dont-sort
-      (setq sigs (sort (copy-alist sigs) `verilog-signals-sort-compare)))
+      (setq sigs (sort (copy-alist sigs) #'verilog-signals-sort-compare)))
   (while sigs
     (let ((sig (car sigs)))
       (verilog-insert-one-definition
@@ -10748,7 +10748,7 @@ Intended for internal use inside a `verilog-save-font-no-change-functions' block
    (concat "/\\*"
            (eval-when-compile
              (verilog-regexp-words
-              `("AS" "AUTOARG" "AUTOCONCATWIDTH" "AUTOINST" "AUTOINSTPARAM"
+              '("AS" "AUTOARG" "AUTOCONCATWIDTH" "AUTOINST" "AUTOINSTPARAM"
                 "AUTOSENSE")))
            "\\*/")
    'verilog-delete-to-paren)
@@ -11089,7 +11089,7 @@ If FORCE, always reread it."
 Takes SIGS list, adds MESSAGE to front and inserts each at INDENT-PT."
   (when sigs
     (when verilog-auto-arg-sort
-      (setq sigs (sort (copy-alist sigs) `verilog-signals-sort-compare)))
+      (setq sigs (sort (copy-alist sigs) #'verilog-signals-sort-compare)))
     (insert "\n")
     (indent-to indent-pt)
     (insert message)
@@ -11243,8 +11243,8 @@ See the example in `verilog-auto-inout-modport'."
                             (verilog-signals-matching-dir-re
                              (verilog-signals-matching-regexp sig-list-o regexp)
                              "output" direction-re)))
-         (setq sig-list-i (sort (copy-alist sig-list-i) `verilog-signals-sort-compare))
-         (setq sig-list-o (sort (copy-alist sig-list-o) `verilog-signals-sort-compare))
+         (setq sig-list-i (sort (copy-alist sig-list-i) #'verilog-signals-sort-compare))
+         (setq sig-list-o (sort (copy-alist sig-list-o) #'verilog-signals-sort-compare))
          (when (or sig-list-i sig-list-o)
            (verilog-insert-indent "// Beginning of automatic assignments from modport\n")
            ;; Don't sort them so an upper AUTOINST will match the main module
@@ -11388,7 +11388,7 @@ If PAR-VALUES replace final strings with these parameter values."
           (indent-to (+ (if (< verilog-auto-inst-column 48) 24 16)
                         verilog-auto-inst-column))
           ;; verilog-insert requires the complete comment in one call - including the newline
-          (cond ((equal verilog-auto-inst-template-numbers `lhs)
+          (cond ((equal verilog-auto-inst-template-numbers 'lhs)
                  (verilog-insert " // Templated"
                                  " LHS: " (nth 0 tpl-ass)
                                  "\n"))
@@ -11412,7 +11412,7 @@ If PAR-VALUES replace final strings with these parameter values."
 (defun verilog-auto-inst-port-list (sig-list indent-pt moddecls tpl-list tpl-num for-star par-values)
   "For `verilog-auto-inst' print a list of ports using `verilog-auto-inst-port'."
   (when verilog-auto-inst-sort
-    (setq sig-list (sort (copy-alist sig-list) `verilog-signals-sort-compare)))
+    (setq sig-list (sort (copy-alist sig-list) #'verilog-signals-sort-compare)))
   (mapc (lambda (port)
          (verilog-auto-inst-port port indent-pt moddecls
                                  tpl-list tpl-num for-star par-values))
@@ -13110,7 +13110,7 @@ operator.  (This was added to the language in part due to AUTOSENSE!)
                                 (verilog-re-search-backward-quick "\\s-" start-pt t))
                               (not (looking-at "\\s-or\\b"))))
          (setq not-first t))
-      (setq sig-list (sort sig-list `verilog-signals-sort-compare))
+      (setq sig-list (sort sig-list #'verilog-signals-sort-compare))
       (while sig-list
        (cond ((> (+ 4 (current-column) (length (verilog-sig-name (car sig-list)))) fill-column) ;+4 for width of or
               (insert "\n")
@@ -13219,7 +13219,7 @@ Typing \\[verilog-auto] will make this into:
                      (append
                       (verilog-alw-get-temps sigss)
                       prereset-sigs)))
-      (setq sig-list (sort sig-list `verilog-signals-sort-compare))
+      (setq sig-list (sort sig-list #'verilog-signals-sort-compare))
       (when sig-list
        (insert "\n");
        (verilog-insert-indent "// Beginning of autoreset for uninitialized flops\n");
@@ -13310,7 +13310,7 @@ Typing \\[verilog-auto] will make this into:
       (when sig-list
        (verilog-forward-or-insert-line)
        (verilog-insert-indent "// Beginning of automatic tieoffs (for this module's unterminated outputs)\n")
-       (setq sig-list (sort (copy-alist sig-list) `verilog-signals-sort-compare))
+       (setq sig-list (sort (copy-alist sig-list) #'verilog-signals-sort-compare))
        (verilog-modi-cache-add-vars modi sig-list)  ; Before we trash list
        (while sig-list
          (let ((sig (car sig-list)))
@@ -13463,7 +13463,7 @@ Typing \\[verilog-auto] will make this into:
       (when sig-list
        (verilog-forward-or-insert-line)
        (verilog-insert-indent "// Beginning of automatic unused inputs\n")
-       (setq sig-list (sort (copy-alist sig-list) `verilog-signals-sort-compare))
+       (setq sig-list (sort (copy-alist sig-list) #'verilog-signals-sort-compare))
        (while sig-list
          (let ((sig (car sig-list)))
            (indent-to indent-pt)
@@ -13789,7 +13789,7 @@ Wilson Snyder (wsnyder@wsnyder.org)."
         ;; Local state
         (verilog-read-auto-template-init)
         ;; If we're not in verilog-mode, change syntax table so parsing works right
-        (unless (eq major-mode `verilog-mode) (verilog-mode))
+        (unless (eq major-mode 'verilog-mode) (verilog-mode))
         ;; Allow user to customize
         (verilog-run-hooks 'verilog-before-auto-hook)
         ;; Try to save the user from needing to revert-file to reread file local-variables
index ae2dd19d2fafaacf35bf0e7297444cb75b4762eb..2658aec5e6de036fc2a78b97c11448b5f45ad71a 100644 (file)
@@ -1031,7 +1031,7 @@ the sequence."
   (setq ps-mule-prologue-generated nil
        ps-mule-composition-prologue-generated nil
        ps-mule-bitmap-prologue-generated nil)
-  (mapcar `(lambda (x) (setcar (nthcdr 2 x) nil))
+  (mapcar (lambda (x) (setcar (nthcdr 2 x) nil))
          ps-mule-external-libraries))
 
 (defun ps-mule-encode-header-string (string fonttag)
index ee2fca612f54a38ce99b00fea04373bf3d7f6698..fe24cd187190c19477ae2f35e22b5d623b2b88b8 100644 (file)
@@ -44,7 +44,7 @@
 ;;; Code:
 
 (defmacro rtree-make-node ()
-  `(list (list nil) nil))
+  '(list (list nil) nil))
 
 (defmacro rtree-set-left (node left)
   `(setcar (cdr ,node) ,left))
index 366bd150413bf3c0fde991d81e10cfad139da95a..709599b4fb1c14c58139fb324427caff28f66b5d 100644 (file)
@@ -613,7 +613,7 @@ format first."
 \f
 ;; Add ruler-mode to the minor mode menu in the mode line
 (define-key mode-line-mode-menu [ruler-mode]
-  `(menu-item "Ruler" ruler-mode
+  '(menu-item "Ruler" ruler-mode
               :button (:toggle . ruler-mode)))
 
 (defconst ruler-mode-ruler-help-echo
index bcf8bdb6368a5f083ddb7cf1b2284121a76df61b..1608d56d6677e923c2ee7622ab38fb85b21da1b5 100644 (file)
@@ -858,7 +858,7 @@ cell (ROW,COL).  This is undoable.  The cell's data will be updated through
              ,(let ((field (progn (cl-assert (eq (car field) 'quote))
                                   (cadr field))))
                 (if (eq field 'value)
-                    `(ses-set-with-undo (ses-cell-symbol cell) val)
+                    '(ses-set-with-undo (ses-cell-symbol cell) val)
                   ;; (let* ((slots (get 'ses-cell 'cl-struct-slots))
                   ;;        (slot (or (assq field slots)
                   ;;                  (error "Unknown field %S" field)))
@@ -3956,17 +3956,17 @@ Use `math-format-value' as a printer for Calc objects."
     (while rest
       (let ((x (pop rest)))
        (pcase x
-         (`>v (setq transpose nil reorient-x nil reorient-y nil))
-         (`>^ (setq transpose nil reorient-x nil reorient-y t))
-         (`<^ (setq transpose nil reorient-x t reorient-y t))
-         (`<v (setq transpose nil reorient-x t reorient-y nil))
-         (`v> (setq transpose t reorient-x nil reorient-y t))
-         (`^> (setq transpose t reorient-x nil reorient-y nil))
-         (`^< (setq transpose t reorient-x t reorient-y nil))
-         (`v< (setq transpose t reorient-x t reorient-y t))
-         ((or `* `*2 `*1) (setq vectorize x))
-         (`! (setq clean 'ses--clean-!))
-         (`_ (setq clean `(lambda (&rest x)
+         ('>v (setq transpose nil reorient-x nil reorient-y nil))
+         ('>^ (setq transpose nil reorient-x nil reorient-y t))
+         ('<^ (setq transpose nil reorient-x t reorient-y t))
+         ('<v (setq transpose nil reorient-x t reorient-y nil))
+         ('v> (setq transpose t reorient-x nil reorient-y t))
+         ('^> (setq transpose t reorient-x nil reorient-y nil))
+         ('^< (setq transpose t reorient-x t reorient-y nil))
+         ('v< (setq transpose t reorient-x t reorient-y t))
+         ((or '* '*2 '*1) (setq vectorize x))
+         ('! (setq clean 'ses--clean-!))
+         ('_ (setq clean `(lambda (&rest x)
                              (ses--clean-_  x ,(if rest (pop rest) 0)))))
          (_
           (cond
@@ -4001,10 +4001,10 @@ Use `math-format-value' as a printer for Calc objects."
                                            (cons  clean (cons (quote 'vec) x)))
                                          result)))))
       (pcase vectorize
-       (`nil (cons clean (apply #'append result)))
-       (`*1 (vectorize-*1 clean result))
-       (`*2 (vectorize-*2 clean result))
-       (`* (funcall (if (cdr result)
+       ('nil (cons clean (apply #'append result)))
+       ('*1 (vectorize-*1 clean result))
+       ('*2 (vectorize-*2 clean result))
+       ('* (funcall (if (cdr result)
                          #'vectorize-*2
                        #'vectorize-*1)
                      clean result))))))
index 245675504a398a1b5e48ea68e0e6fc81d58483ab..e1922384f267155502c795d3113b7914d02c7890 100644 (file)
@@ -4118,7 +4118,7 @@ Runs `prefix-command-preserve-state-hook'."
   (when prefix-arg
     (concat "C-u"
             (pcase prefix-arg
-              (`(-) " -")
+              ('(-) " -")
               (`(,(and (pred integerp) n))
                (let ((str ""))
                  (while (and (> n 4) (= (mod n 4) 0))
@@ -8699,7 +8699,7 @@ See also `normal-erase-is-backspace'."
     (cond ((or (memq window-system '(x w32 ns pc))
               (memq system-type '(ms-dos windows-nt)))
           (let ((bindings
-                 `(([M-delete] [M-backspace])
+                 '(([M-delete] [M-backspace])
                    ([C-M-delete] [C-M-backspace])
                    ([?\e C-delete] [?\e C-backspace]))))
 
index 4eb71abaacf3ddf494de4a9b6837a3df765bfbb5..a7b40b7b9c184e92a0324454694b3b346c1a4728 100644 (file)
@@ -1755,7 +1755,7 @@ a face or button specification."
    :face 'variable-pitch "To quit a partially entered command, type "
    :face 'default "Control-g"
    :face 'variable-pitch ".\n")
-  (fancy-splash-insert :face `(variable-pitch font-lock-builtin-face)
+  (fancy-splash-insert :face '(variable-pitch font-lock-builtin-face)
                       "\nThis is "
                       (emacs-version)
                       "\n"
index 1fd86fd749542dc7924df30154d3cfad4d92c808..d3bc007293bdf9d487864cecc4ed7e3358c2dd80 100644 (file)
@@ -4815,7 +4815,7 @@ command is called from a keyboard macro?"
                           'called-interactively-p-functions
                           i frame nextframe)))
                (pcase skip
-                 (`nil nil)
+                 ('nil nil)
                  (0 t)
                  (_ (setq i (+ i skip -1)) (funcall get-next-frame)))))))
       ;; Now `frame' should be "the function from which we were called".
index 8b23cab0100daa202783be3d6c79ffb593581a94..09bbc7be63622f01002d3faa030e700ec410fd06 100644 (file)
@@ -623,7 +623,7 @@ the last file dropped is selected."
       (let ((last-nonmenu-event (if (listp last-nonmenu-event)
                                     last-nonmenu-event
                                   ;; Fake it:
-                                  `(mouse-1 POSITION 1))))
+                                  '(mouse-1 POSITION 1))))
         (if (y-or-n-p (format "Print buffer %s? " (buffer-name)))
             (print-buffer)
          (error "Canceled")))
index 57e5ef8017a0903ef1961f48a5dc147a46eb4626..eec40429cd5dc901b70536aaccd450475aa5e07d 100644 (file)
@@ -5095,7 +5095,7 @@ entries from minibuffer."
              (list beg end
                    (lambda (s p a)
                      (cond
-                      ((eq a 'metadata) `(metadata (category . bibtex-key)))
+                      ((eq a 'metadata) '(metadata (category . bibtex-key)))
                       (t (let ((completion-ignore-case nil))
                            (complete-with-action
                             a (bibtex-global-key-alist) s p)))))
@@ -5113,7 +5113,7 @@ entries from minibuffer."
            (list beg end
                  (lambda (s p a)
                    (cond
-                    ((eq a 'metadata) `(metadata (category . bibtex-string)))
+                    ((eq a 'metadata) '(metadata (category . bibtex-string)))
                     (t (let ((completion-ignore-case t))
                          (complete-with-action a compl s p)))))
                  :exit-function (bibtex-complete-string-cleanup compl))))))
index 45fd040d10e7d6d14bed53f4f70e90903dd95827..0363b927dae0338cf273455dc7eadb5b801bd1e9 100644 (file)
@@ -230,7 +230,7 @@ This variable is best set in the file local variables, or through
 (put 'conf-space-keywords 'safe-local-variable 'stringp)
 
 (defvar conf-space-font-lock-keywords
-  `(;; [section] (do this first because it may look like a parameter)
+  '(;; [section] (do this first because it may look like a parameter)
     ("^[ \t]*\\[\\(.+\\)\\]" 1 'font-lock-type-face)
     ;; section { ... } (do this first because it looks like a parameter)
     ("^[ \t]*\\(.+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face)
@@ -243,7 +243,7 @@ This variable is best set in the file local variables, or through
   "Keywords to highlight in Conf Space mode.")
 
 (defvar conf-colon-font-lock-keywords
-  `(;; [section] (do this first because it may look like a parameter)
+  '(;; [section] (do this first because it may look like a parameter)
     ("^[ \t]*\\[\\(.+\\)\\]" 1 'font-lock-type-face)
     ;; var: val
     ("^[ \t]*\\(.+?\\)[ \t]*:"
index 2de6455a6abe01cc954193813b5f667f9319821c..f87d6219fd5ec2668c857ef2e7e035db8f1bfe77 100644 (file)
@@ -1250,20 +1250,20 @@ for determining whether point is within a selector."
 
 (defun css-smie-rules (kind token)
   (pcase (cons kind token)
-    (`(:elem . basic) css-indent-offset)
-    (`(:elem . arg) 0)
+    ('(:elem . basic) css-indent-offset)
+    ('(:elem . arg) 0)
     ;; "" stands for BOB (bug#15467).
     (`(:list-intro . ,(or ";" "" ":-property")) t)
-    (`(:before . "{")
+    ('(:before . "{")
      (when (or (smie-rule-hanging-p) (smie-rule-bolp))
        (smie-backward-sexp ";")
        (unless (eq (char-after) ?\{)
          (smie-indent-virtual))))
-    (`(:before . "(")
+    ('(:before . "(")
      (cond
       ((smie-rule-hanging-p) (smie-rule-parent 0))
       ((not (smie-rule-bolp)) 0)))
-    (`(:after . ":-property")
+    ('(:after . ":-property")
      (when (smie-rule-hanging-p)
        css-indent-offset))))
 
index 229d6a24dddf1c5961041b658a21f0adee89c476..06709a8cc205370977fc06927b442bdf79cae5f8 100644 (file)
@@ -169,7 +169,7 @@ complex processing.")
   (when refill-doit ; there was a change
     ;; There's probably scope for more special cases here...
     (pcase this-command
-      (`self-insert-command
+      ('self-insert-command
        ;; Treat self-insertion commands specially, since they don't
        ;; always reset `refill-doit' -- for self-insertion commands that
        ;; *don't* cause a refill, we want to leave it turned on so that
@@ -179,9 +179,9 @@ complex processing.")
         ;; newline, covered below).
         (refill-fill-paragraph-at refill-doit)
         (setq refill-doit nil)))
-      ((or `quoted-insert `fill-paragraph `fill-region) nil)
-      ((or `newline `newline-and-indent `open-line `indent-new-comment-line
-           `reindent-then-newline-and-indent)
+      ((or 'quoted-insert 'fill-paragraph 'fill-region) nil)
+      ((or 'newline 'newline-and-indent 'open-line 'indent-new-comment-line
+           'reindent-then-newline-and-indent)
        ;; Don't zap what was just inserted.
        (save-excursion
         (beginning-of-line)            ; for newline-and-indent
index 470f4a348ac97b16754173fe04baf0b157156f6f..21b7082b856711a08594f70c114e57607bd41a33 100644 (file)
@@ -1524,12 +1524,12 @@ Depending on context, inserts a matching close-tag, or closes
 the current start-tag or the current comment or the current cdata, ..."
   (interactive)
   (pcase (car (sgml-lexical-context))
-    (`comment  (insert " -->"))
-    (`cdata    (insert "]]>"))
-    (`pi       (insert " ?>"))
-    (`jsp      (insert " %>"))
-    (`tag      (insert " />"))
-    (`text
+    ('comment  (insert " -->"))
+    ('cdata    (insert "]]>"))
+    ('pi       (insert " ?>"))
+    ('jsp      (insert " %>"))
+    ('tag      (insert " />"))
+    ('text
      (let ((context (save-excursion (sgml-get-context))))
        (if context
            (progn
@@ -1562,7 +1562,7 @@ LCON is the lexical context, if any."
 
   (pcase (car lcon)
 
-    (`string
+    ('string
      ;; Go back to previous non-empty line.
      (while (and (> (point) (cdr lcon))
                 (zerop (forward-line -1))
@@ -1573,7 +1573,7 @@ LCON is the lexical context, if any."
        (goto-char (cdr lcon))
        (1+ (current-column))))
 
-    (`comment
+    ('comment
      (let ((mark (looking-at "--")))
        ;; Go back to previous non-empty line.
        (while (and (> (point) (cdr lcon))
@@ -1592,11 +1592,11 @@ LCON is the lexical context, if any."
        (current-column)))
 
     ;; We don't know how to indent it.  Let's be honest about it.
-    (`cdata nil)
+    ('cdata nil)
     ;; We don't know how to indent it.  Let's be honest about it.
-    (`pi nil)
+    ('pi nil)
 
-    (`tag
+    ('tag
      (goto-char (+ (cdr lcon) sgml-attribute-offset))
      (skip-chars-forward "^ \t\n")     ;Skip tag name.
      (skip-chars-forward " \t")
@@ -1606,7 +1606,7 @@ LCON is the lexical context, if any."
        (goto-char (+ (cdr lcon) sgml-attribute-offset))
        (+ (current-column) sgml-basic-offset)))
 
-    (`text
+    ('text
      (while (looking-at "</")
        (sgml-forward-sexp 1)
        (skip-chars-forward " \t"))
index 8b0677754f3947974ee711294879165cab5575d9..63437afa3baff4ce56d359bc0b9927a1979c5819 100644 (file)
@@ -601,9 +601,9 @@ An alternative value is \" . \", if you use a font with a narrow period."
        (list (concat slash citations opt arg) 3 'font-lock-constant-face)
        ;;
        ;; Text between `` quotes ''.
-       (cons (concat (regexp-opt `("``" "\"<" "\"`" "<<" "«") t)
+       (cons (concat (regexp-opt '("``" "\"<" "\"`" "<<" "«") t)
                      "[^'\">{]+"       ;a bit pessimistic
-                     (regexp-opt `("''" "\">" "\"'" ">>" "»") t))
+                     (regexp-opt '("''" "\">" "\"'" ">>" "»") t))
              'font-lock-string-face)
        ;;
        ;; Command names, special and general.
@@ -1656,7 +1656,7 @@ Puts point on a blank line between them."
     (let ((pt (point)))
       (skip-chars-backward "^ {}\n\t\\\\")
       (pcase (char-before)
-        ((or `nil ?\s ?\n ?\t ?\}) nil)
+        ((or 'nil ?\s ?\n ?\t ?\}) nil)
         (?\\
          ;; TODO: Complete commands.
          nil)
@@ -2994,7 +2994,7 @@ There might be text before point."
              (mapcar
               (lambda (x)
                 (pcase (car-safe x)
-                  (`font-lock-syntactic-face-function
+                  ('font-lock-syntactic-face-function
                    (cons (car x) #'doctex-font-lock-syntactic-face-function))
                   (_ x)))
               (cdr font-lock-defaults))))
index 1ddf7a8b79f2757cc5ebdb4d502fc4535d032a68..e3fbdf019c1576f3d8c6a3ccbc95e4c2242125ab 100644 (file)
@@ -476,8 +476,8 @@ where
                    ((and cua-mode
                          (or (and (eq def-fun 'ESC-prefix)
                                   (equal key-fun
-                                         `(keymap
-                                           (118 . cua-repeat-replace-region)))
+                                         '(keymap
+                                            (118 . cua-repeat-replace-region)))
                                   (setq def-fun-txt "\"ESC prefix\""))
                              (and (eq def-fun 'mode-specific-command-prefix)
                                   (equal key-fun
index 9c8c0526ba8897b3f47badb4201e81ca39f986ee..1402432fb24fa90204bad2fa31c3ecd9910c5341 100644 (file)
@@ -204,22 +204,22 @@ Returns nil if WebDAV is not supported."
            value nil)
 
       (pcase node-type
-       ((or `dateTime.iso8601tz
-             `dateTime.iso8601
-             `dateTime.tz
-             `dateTime.rfc1123
-             `dateTime
-             `date)                     ; date is our 'special' one...
+       ((or 'dateTime.iso8601tz
+             'dateTime.iso8601
+             'dateTime.tz
+             'dateTime.rfc1123
+             'dateTime
+             'date)                     ; date is our 'special' one...
         ;; Some type of date/time string.
         (setq value (url-dav-process-date-property node)))
-       (`int
+       ('int
         ;; Integer type...
         (setq value (url-dav-process-integer-property node)))
-       ((or `number `float)
+       ((or 'number 'float)
         (setq value (url-dav-process-number-property node)))
-       (`boolean
+       ('boolean
         (setq value (url-dav-process-boolean-property node)))
-       (`uri
+       ('uri
         (setq value (url-dav-process-uri-property node)))
        (_
         (if (not (eq node-type 'unknown))
@@ -611,11 +611,11 @@ Returns t if the lock was successfully released."
       (setq lock (car supported-locks)
            supported-locks (cdr supported-locks))
       (pcase (car lock)
-       (`DAV:write
+       ('DAV:write
         (pcase (cdr lock)
-          (`DAV:shared                 ; group permissions (possibly world)
+          ('DAV:shared                 ; group permissions (possibly world)
            (aset modes 5 ?w))
-          (`DAV:exclusive
+          ('DAV:exclusive
            (aset modes 2 ?w))          ; owner permissions?
           (_
            (url-debug 'dav "Unrecognized DAV:lockscope (%S)" (cdr lock)))))
index e1750361a6f53879446d5c5f6abd664cf8b6b9ef..0fc7200219e137d4fc56f3c4141aaa2dec1a91b5 100644 (file)
@@ -239,7 +239,7 @@ overriding the value of `url-gateway-method'."
          (let ((coding-system-for-read 'binary)
                (coding-system-for-write 'binary))
            (setq conn (pcase gw-method
-                        ((or `tls `ssl `native)
+                        ((or 'tls 'ssl 'native)
                          (if (eq gw-method 'native)
                              (setq gw-method 'plain))
                          (open-network-stream
@@ -249,11 +249,11 @@ overriding the value of `url-gateway-method'."
                           :nowait (and (featurep 'make-network-process)
                                         (url-asynchronous url-current-object)
                                         '(:nowait t))))
-                         (`socks
+                         ('socks
                          (socks-open-network-stream name buffer host service))
-                        (`telnet
+                        ('telnet
                          (url-open-telnet name buffer host service))
-                        (`rlogin
+                        ('rlogin
                          (url-open-rlogin name buffer host service))
                         (_
                          (error "Bad setting of url-gateway-method: %s"
index 6b5749e1bcebd00ba3b5b286afb7b5d90002ec1f..036ff8005e8bfd5985bd3694c586110ebd53cfb8 100644 (file)
@@ -613,7 +613,7 @@ should be shown to the user."
        ;; 206 Partial content
        ;; 207 Multi-status (Added by DAV)
        (pcase status-symbol
-        ((or `no-content `reset-content)
+        ((or 'no-content 'reset-content)
          ;; No new data, just stay at the same document
          (url-mark-buffer-as-dead buffer))
         (_
@@ -634,7 +634,7 @@ should be shown to the user."
        (let ((redirect-uri (or (mail-fetch-field "Location")
                               (mail-fetch-field "URI"))))
         (pcase status-symbol
-          (`multiple-choices       ; 300
+          ('multiple-choices       ; 300
            ;; Quoth the spec (section 10.3.1)
            ;; -------------------------------
            ;; The requested resource corresponds to any one of a set of
@@ -651,26 +651,26 @@ should be shown to the user."
            ;; We do not support agent-driven negotiation, so we just
            ;; redirect to the preferred URI if one is provided.
            nil)
-           (`found                     ; 302
+           ('found                     ; 302
            ;; 302 Found was ambiguously defined in the standards, but
            ;; it's now recommended that it's treated like 303 instead
            ;; of 307, since that's what most servers expect.
            (setq url-http-method "GET"
                  url-http-data nil))
-           (`see-other                 ; 303
+           ('see-other                 ; 303
            ;; The response to the request can be found under a different
            ;; URI and SHOULD be retrieved using a GET method on that
            ;; resource.
            (setq url-http-method "GET"
                  url-http-data nil))
-          (`not-modified               ; 304
+          ('not-modified               ; 304
            ;; The 304 response MUST NOT contain a message-body.
            (url-http-debug "Extracting document from cache... (%s)"
                            (url-cache-create-filename (url-view-url t)))
            (url-cache-extract (url-cache-create-filename (url-view-url t)))
            (setq redirect-uri nil
                  success t))
-          (`use-proxy                  ; 305
+          ('use-proxy                  ; 305
            ;; The requested resource MUST be accessed through the
            ;; proxy given by the Location field.  The Location field
            ;; gives the URI of the proxy.  The recipient is expected
@@ -768,50 +768,50 @@ should be shown to the user."
        ;; 424 Failed Dependency
        (setq success
              (pcase status-symbol
-               (`unauthorized                  ; 401
+               ('unauthorized                  ; 401
                 ;; The request requires user authentication.  The response
                 ;; MUST include a WWW-Authenticate header field containing a
                 ;; challenge applicable to the requested resource.  The
                 ;; client MAY repeat the request with a suitable
                 ;; Authorization header field.
                 (url-http-handle-authentication nil))
-               (`payment-required              ; 402
+               ('payment-required              ; 402
                 ;; This code is reserved for future use
                 (url-mark-buffer-as-dead buffer)
                 (error "Somebody wants you to give them money"))
-               (`forbidden                     ; 403
+               ('forbidden                     ; 403
                 ;; The server understood the request, but is refusing to
                 ;; fulfill it.  Authorization will not help and the request
                 ;; SHOULD NOT be repeated.
                 t)
-               (`not-found                     ; 404
+               ('not-found                     ; 404
                 ;; Not found
                 t)
-               (`method-not-allowed            ; 405
+               ('method-not-allowed            ; 405
                 ;; The method specified in the Request-Line is not allowed
                 ;; for the resource identified by the Request-URI.  The
                 ;; response MUST include an Allow header containing a list of
                 ;; valid methods for the requested resource.
                 t)
-               (`not-acceptable                ; 406
+               ('not-acceptable                ; 406
                 ;; The resource identified by the request is only capable of
                 ;; generating response entities which have content
                 ;; characteristics not acceptable according to the accept
                 ;; headers sent in the request.
                 t)
-               (`proxy-authentication-required ; 407
+               ('proxy-authentication-required ; 407
                 ;; This code is similar to 401 (Unauthorized), but indicates
                 ;; that the client must first authenticate itself with the
                 ;; proxy.  The proxy MUST return a Proxy-Authenticate header
                 ;; field containing a challenge applicable to the proxy for
                 ;; the requested resource.
                 (url-http-handle-authentication t))
-               (`request-timeout               ; 408
+               ('request-timeout               ; 408
                 ;; The client did not produce a request within the time that
                 ;; the server was prepared to wait.  The client MAY repeat
                 ;; the request without modifications at any later time.
                 t)
-               (`conflict                      ; 409
+               ('conflict                      ; 409
                 ;; The request could not be completed due to a conflict with
                 ;; the current state of the resource.  This code is only
                 ;; allowed in situations where it is expected that the user
@@ -820,11 +820,11 @@ should be shown to the user."
                 ;; information for the user to recognize the source of the
                 ;; conflict.
                 t)
-               (`gone                          ; 410
+               ('gone                          ; 410
                 ;; The requested resource is no longer available at the
                 ;; server and no forwarding address is known.
                 t)
-               (`length-required               ; 411
+               ('length-required               ; 411
                 ;; The server refuses to accept the request without a defined
                 ;; Content-Length.  The client MAY repeat the request if it
                 ;; adds a valid Content-Length header field containing the
@@ -834,29 +834,29 @@ should be shown to the user."
                 ;; `url-http-create-request' automatically calculates the
                 ;; content-length.
                 t)
-               (`precondition-failed           ; 412
+               ('precondition-failed           ; 412
                 ;; The precondition given in one or more of the
                 ;; request-header fields evaluated to false when it was
                 ;; tested on the server.
                 t)
-               ((or `request-entity-too-large `request-uri-too-large) ; 413 414
+               ((or 'request-entity-too-large 'request-uri-too-large) ; 413 414
                 ;; The server is refusing to process a request because the
                 ;; request entity|URI is larger than the server is willing or
                 ;; able to process.
                 t)
-               (`unsupported-media-type        ; 415
+               ('unsupported-media-type        ; 415
                 ;; The server is refusing to service the request because the
                 ;; entity of the request is in a format not supported by the
                 ;; requested resource for the requested method.
                 t)
-               (`requested-range-not-satisfiable ; 416
+               ('requested-range-not-satisfiable ; 416
                 ;; A server SHOULD return a response with this status code if
                 ;; a request included a Range request-header field, and none
                 ;; of the range-specifier values in this field overlap the
                 ;; current extent of the selected resource, and the request
                 ;; did not include an If-Range request-header field.
                 t)
-               (`expectation-failed            ; 417
+               ('expectation-failed            ; 417
                 ;; The expectation given in an Expect request-header field
                 ;; could not be met by this server, or, if the server is a
                 ;; proxy, the server has unambiguous evidence that the
@@ -883,16 +883,16 @@ should be shown to the user."
        ;; 507 Insufficient storage
        (setq success t)
        (pcase url-http-response-status
-        (`not-implemented              ; 501
+        ('not-implemented              ; 501
          ;; The server does not support the functionality required to
          ;; fulfill the request.
          nil)
-        (`bad-gateway                  ; 502
+        ('bad-gateway                  ; 502
          ;; The server, while acting as a gateway or proxy, received
          ;; an invalid response from the upstream server it accessed
          ;; in attempting to fulfill the request.
          nil)
-        (`service-unavailable          ; 503
+        ('service-unavailable          ; 503
          ;; The server is currently unable to handle the request due
          ;; to a temporary overloading or maintenance of the server.
          ;; The implication is that this is a temporary condition
@@ -901,19 +901,19 @@ should be shown to the user."
          ;; header.  If no Retry-After is given, the client SHOULD
          ;; handle the response as it would for a 500 response.
          nil)
-        (`gateway-timeout              ; 504
+        ('gateway-timeout              ; 504
          ;; The server, while acting as a gateway or proxy, did not
          ;; receive a timely response from the upstream server
          ;; specified by the URI (e.g. HTTP, FTP, LDAP) or some other
          ;; auxiliary server (e.g. DNS) it needed to access in
          ;; attempting to complete the request.
          nil)
-        (`http-version-not-supported   ; 505
+        ('http-version-not-supported   ; 505
          ;; The server does not support, or refuses to support, the
          ;; HTTP protocol version that was used in the request
          ;; message.
          nil)
-        (`insufficient-storage         ; 507 (DAV)
+        ('insufficient-storage         ; 507 (DAV)
          ;; The method could not be performed on the resource
          ;; because the server is unable to store the representation
          ;; needed to successfully complete the request.  This
@@ -1353,10 +1353,10 @@ The return value of this function is the retrieval buffer."
        (set-process-buffer connection buffer)
        (set-process-filter connection 'url-http-generic-filter)
        (pcase (process-status connection)
-          (`connect
+          ('connect
            ;; Asynchronous connection
            (set-process-sentinel connection 'url-http-async-sentinel))
-          (`failed
+          ('failed
            ;; Asynchronous connection failed
            (error "Could not create connection to %s:%d" (url-host url)
                   (url-port url)))
index db6ef7283deb53d57f63adffa29ca73b252f2e56..b728212d23fa51fbdfb6c299fa7eccc0c8ea5d74 100644 (file)
@@ -134,11 +134,11 @@ it has not already been loaded."
                        (type (cdr cell)))
                    (if symbol
                        (pcase type
-                         (`function
+                         ('function
                           ;; Store the symbol name of a function
                           (if (fboundp symbol)
                               (setq desc (plist-put desc (car cell) symbol))))
-                         (`variable
+                         ('variable
                           ;; Store the VALUE of a variable
                           (if (boundp symbol)
                               (setq desc (plist-put desc (car cell)
index 92523a62cae88aae0f571696f6ed7646abb6696f..9edca7e334dad5f133bff9614b1fe33ca4e2732e 100644 (file)
@@ -45,9 +45,9 @@
         ((memq (url-device-type) '(win32 w32)) "Windows; 32bit")
         (t
          (pcase (url-device-type)
-           (`x "X11")
-           (`ns "OpenStep")
-           (`tty "TTY")
+           ('x "X11")
+           ('ns "OpenStep")
+           ('tty "TTY")
            (_ nil)))))
 
   (setq url-personal-mail-address (or url-personal-mail-address
index 13b876273f2d3a9d2b6b41c84df7971f440b2c36..b65b91c5178119c3960de8532755ca43a109a25f 100644 (file)
@@ -269,9 +269,9 @@ BEWARE:  because of stability issues, this is not a symmetric operation."
     (cond
      ((= l1 l2)
       (pcase (cvs-tag-compare tag1 tag2)
-       (`more1 (cons rev2 (cvs-tree-merge tree1 (cdr tree2))))
-       (`more2 (cons rev1 (cvs-tree-merge (cdr tree1) tree2)))
-       (`equal
+       ('more1 (cons rev2 (cvs-tree-merge tree1 (cdr tree2))))
+       ('more2 (cons rev1 (cvs-tree-merge (cdr tree1) tree2)))
+       ('equal
         (cons (cons (cvs-tag-merge tag1 tag2)
                     (cvs-tree-merge (cvs-cdr rev1) (cvs-cdr rev2)))
               (cvs-tree-merge (cdr tree1) (cdr tree2))))))
@@ -395,33 +395,33 @@ Otherwise, default to ASCII chars like +, - and |.")
 
 (defconst cvs-tree-char-space
   (pcase cvs-tree-use-charset
-    (`jisx0208 (make-char 'japanese-jisx0208 33 33))
-    (`unicode " ")
+    ('jisx0208 (make-char 'japanese-jisx0208 33 33))
+    ('unicode " ")
     (_ "  ")))
 (defconst cvs-tree-char-hbar
   (pcase cvs-tree-use-charset
-    (`jisx0208 (make-char 'japanese-jisx0208 40 44))
-    (`unicode "â”")
+    ('jisx0208 (make-char 'japanese-jisx0208 40 44))
+    ('unicode "â”")
     (_ "--")))
 (defconst cvs-tree-char-vbar
   (pcase cvs-tree-use-charset
-    (`jisx0208 (make-char 'japanese-jisx0208 40 45))
-    (`unicode "┃")
+    ('jisx0208 (make-char 'japanese-jisx0208 40 45))
+    ('unicode "┃")
     (_ "| ")))
 (defconst cvs-tree-char-branch
   (pcase cvs-tree-use-charset
-    (`jisx0208 (make-char 'japanese-jisx0208 40 50))
-    (`unicode "┣")
+    ('jisx0208 (make-char 'japanese-jisx0208 40 50))
+    ('unicode "┣")
     (_ "+-")))
 (defconst cvs-tree-char-eob            ;end of branch
   (pcase cvs-tree-use-charset
-    (`jisx0208 (make-char 'japanese-jisx0208 40 49))
-    (`unicode "â”—")
+    ('jisx0208 (make-char 'japanese-jisx0208 40 49))
+    ('unicode "â”—")
     (_ "`-")))
 (defconst cvs-tree-char-bob            ;beginning of branch
   (pcase cvs-tree-use-charset
-    (`jisx0208 (make-char 'japanese-jisx0208 40 51))
-    (`unicode "┳")
+    ('jisx0208 (make-char 'japanese-jisx0208 40 51))
+    ('unicode "┳")
     (_ "+-")))
 
 (defun cvs-tag-lessp (tag1 tag2)
index f200680968e7dbd497611a75f46583d099af5980..4adef029847d79ed362d83e7246c2483f38dcc42 100644 (file)
@@ -476,13 +476,13 @@ See https://lists.gnu.org/r/emacs-devel/2007-11/msg01990.html")
     (unless end
       (setq end (and (re-search-forward
                       (pcase style
-                        (`unified
+                        ('unified
                          (concat (if diff-valid-unified-empty-line
                                      "^[^-+# \\\n]\\|" "^[^-+# \\]\\|")
                                  ;; A `unified' header is ambiguous.
                                  diff-file-header-re))
-                        (`context "^[^-+#! \\]")
-                        (`normal "^[^<>#\\]")
+                        ('context "^[^-+#! \\]")
+                        ('normal "^[^<>#\\]")
                         (_ "^[^-+#!<> \\]"))
                       nil t)
                      (match-beginning 0)))
@@ -2048,7 +2048,7 @@ Return new point, if it was moved."
 
     (goto-char beg)
     (pcase style
-      (`unified
+      ('unified
        (while (re-search-forward "^-" end t)
          (let ((beg-del (progn (beginning-of-line) (point)))
                beg-add end-add)
@@ -2061,7 +2061,7 @@ Return new point, if it was moved."
                              (setq end-add (point))))
              (smerge-refine-regions beg-del beg-add beg-add end-add
                                     nil #'diff-refine-preproc props-r props-a)))))
-      (`context
+      ('context
        (let* ((middle (save-excursion (re-search-forward "^---")))
               (other middle))
          (while (re-search-forward "^\\(?:!.*\n\\)+" middle t)
index e5e2a042305edc7f50af82c1e5c237c2c51229f7..ee36a82033fd9cc7b8856a88f59d8e26b517b97d 100644 (file)
@@ -267,17 +267,17 @@ It needs to be killed when we quit the session.")
   (and (ediff-window-display-p) ediff-multiframe))
 
 (defmacro ediff-narrow-control-frame-p ()
-  `(and (ediff-multiframe-setup-p)
-       (equal ediff-help-message ediff-brief-message-string)))
+  '(and (ediff-multiframe-setup-p)
+        (equal ediff-help-message ediff-brief-message-string)))
 
 (defmacro ediff-3way-comparison-job ()
-  `(memq
+  '(memq
     ediff-job-name
     '(ediff-files3 ediff-buffers3)))
 (ediff-defvar-local ediff-3way-comparison-job nil "")
 
 (defmacro ediff-merge-job ()
-  `(memq
+  '(memq
     ediff-job-name
     '(ediff-merge-files
       ediff-merge-buffers
@@ -288,10 +288,10 @@ It needs to be killed when we quit the session.")
 (ediff-defvar-local ediff-merge-job nil "")
 
 (defmacro ediff-patch-job ()
-  `(eq ediff-job-name 'epatch))
+  '(eq ediff-job-name 'epatch))
 
 (defmacro ediff-merge-with-ancestor-job ()
-  `(memq
+  '(memq
     ediff-job-name
     '(ediff-merge-files-with-ancestor
       ediff-merge-buffers-with-ancestor
@@ -299,26 +299,26 @@ It needs to be killed when we quit the session.")
 (ediff-defvar-local ediff-merge-with-ancestor-job nil "")
 
 (defmacro ediff-3way-job ()
-  `(or ediff-3way-comparison-job ediff-merge-job))
+  '(or ediff-3way-comparison-job ediff-merge-job))
 (ediff-defvar-local ediff-3way-job nil "")
 
 ;; A diff3 job is like a 3way job, but ediff-merge doesn't require the use
 ;; of diff3.
 (defmacro ediff-diff3-job ()
-  `(or ediff-3way-comparison-job
+  '(or ediff-3way-comparison-job
        ediff-merge-with-ancestor-job))
 (ediff-defvar-local ediff-diff3-job nil "")
 
 (defmacro ediff-windows-job ()
-  `(memq ediff-job-name '(ediff-windows-wordwise ediff-windows-linewise)))
+  '(memq ediff-job-name '(ediff-windows-wordwise ediff-windows-linewise)))
 (ediff-defvar-local ediff-windows-job nil "")
 
 (defmacro ediff-word-mode-job ()
-  `(memq ediff-job-name '(ediff-windows-wordwise ediff-regions-wordwise)))
+  '(memq ediff-job-name '(ediff-windows-wordwise ediff-regions-wordwise)))
 (ediff-defvar-local ediff-word-mode-job nil "")
 
 (defmacro ediff-narrow-job ()
-  `(memq ediff-job-name '(ediff-windows-wordwise
+  '(memq ediff-job-name '(ediff-windows-wordwise
                          ediff-regions-wordwise
                          ediff-windows-linewise
                          ediff-regions-linewise)))
index b3cf2fee97b12272959dfdfcfa256835b62d7442..03f5421913044af43c777418bf195fe161d66eee 100644 (file)
@@ -823,11 +823,11 @@ you can still examine the changes via M-x ediff-files"
     (setq startup-hooks
          ;; this sets various vars in the meta buffer inside
          ;; ediff-prepare-meta-buffer
-         (cons `(lambda ()
-                  ;; tell what to do if the user clicks on a session record
-                  (setq ediff-session-action-function
-                        'ediff-patch-file-form-meta
-                        ediff-meta-patchbufer patch-buf) )
+         (cons (lambda ()
+                 ;; tell what to do if the user clicks on a session record
+                 (setq ediff-session-action-function
+                       'ediff-patch-file-form-meta
+                       ediff-meta-patchbufer patch-buf) )
                startup-hooks))
     (setq meta-buf (ediff-prepare-meta-buffer
                    'ediff-filegroup-action
index 90860fbdcfe22a750a0d3d02628defe0ecca22d2..d407aab11df3768132ad12a2b82109e1fd576a7b 100644 (file)
@@ -52,7 +52,7 @@
 ;; The main keymap
 
 (easy-mmode-defmap log-edit-mode-map
-  `(("\C-c\C-c" . log-edit-done)
+  '(("\C-c\C-c" . log-edit-done)
     ("\C-c\C-a" . log-edit-insert-changelog)
     ("\C-c\C-d" . log-edit-show-diff)
     ("\C-c\C-f" . log-edit-show-files)
index bfb31ccdab8925605544e80cca87746bb9e7ea6c..e3ae8fa0ba57b0fc0053ddad3d63ede71d133c7d 100644 (file)
 
 (easy-menu-define log-view-mode-menu log-view-mode-map
   "Log-View Display Menu"
-  `("Log-View"
+  '("Log-View"
     ;; XXX Do we need menu entries for these?
     ;; ["Quit"  quit-window]
     ;; ["Kill This Buffer"  kill-this-buffer]
index 2947733a24a9379e6e09b9a8e2263b90bf8ad4c3..7609f987f68702297fec127f00ed5fa8e5f79f07 100644 (file)
@@ -263,9 +263,9 @@ to confuse some users sometimes."
             (setq check 'type)         (symbolp type)
             (setq check 'consistency)
             (pcase type
-              (`DIRCHANGE (and (null subtype) (string= "." file)))
-              ((or `NEED-UPDATE `ADDED `MISSING `DEAD `MODIFIED `MESSAGE
-                    `UP-TO-DATE `REMOVED `NEED-MERGE `CONFLICT `UNKNOWN)
+              ('DIRCHANGE (and (null subtype) (string= "." file)))
+              ((or 'NEED-UPDATE 'ADDED 'MISSING 'DEAD 'MODIFIED 'MESSAGE
+                    'UP-TO-DATE 'REMOVED 'NEED-MERGE 'CONFLICT 'UNKNOWN)
                t)))
        fi
       (error "Invalid :%s in cvs-fileinfo %s" check fi))))
@@ -326,11 +326,11 @@ For use by the ewoc package."
        (subtype (cvs-fileinfo->subtype fileinfo)))
     (insert
      (pcase type
-       (`DIRCHANGE (concat "In directory "
+       ('DIRCHANGE (concat "In directory "
                            (cvs-add-face (cvs-fileinfo->full-name fileinfo)
                                          'cvs-header t 'cvs-goal-column t)
                            ":"))
-       (`MESSAGE
+       ('MESSAGE
        (cvs-add-face (format "Message: %s" (cvs-fileinfo->full-log fileinfo))
                      'cvs-msg))
        (_
@@ -344,7 +344,7 @@ For use by the ewoc package."
               (type
                (let ((str (pcase type
                             ;;(MOD-CONFLICT "Not Removed")
-                            (`DEAD       "")
+                            ('DEAD       "")
                             (_ (capitalize (symbol-name type)))))
                      (face (let ((sym (intern-soft
                                        (concat "cvs-fi-"
index 501666a4997af6452caef13c217d1fe4f95e3f07..9933e3682ed1e2d9c04d77d90ecfd7e20a5c646d 100644 (file)
@@ -430,11 +430,11 @@ If non-nil, NEW means to create a new buffer no matter what."
                    (set-buffer buffer)
                    (and (cvs-buffer-p)
                         (pcase cvs-reuse-cvs-buffer
-                          (`always t)
-                          (`subdir
+                          ('always t)
+                          ('subdir
                            (or (string-prefix-p default-directory dir)
                                (string-prefix-p dir default-directory)))
-                          (`samedir (string= default-directory dir)))
+                          ('samedir (string= default-directory dir)))
                         (cl-return buffer)))))
              ;; we really have to create a new buffer:
              ;; we temporarily bind cwd to "" to prevent
@@ -876,11 +876,11 @@ RM-MSGS if non-nil means remove messages."
                  (keep
                   (pcase type
                     ;; Remove temp messages and keep the others.
-                    (`MESSAGE (not (or rm-msgs (eq subtype 'TEMP))))
+                    ('MESSAGE (not (or rm-msgs (eq subtype 'TEMP))))
                     ;; Remove dead entries.
-                    (`DEAD nil)
+                    ('DEAD nil)
                     ;; Handled also?
-                    (`UP-TO-DATE
+                    ('UP-TO-DATE
                       (not
                        (if (find-buffer-visiting (cvs-fileinfo->full-name fi))
                            (eq rm-handled 'all)
index ff41473435c78569e5a1e7ee96eb633acee34133..fd655e435faef1aef95ec1a227380b7e9caf5b10 100644 (file)
@@ -363,9 +363,9 @@ function should only apply safe heuristics) and with the match data set
 according to `smerge-match-conflict'.")
 
 (defvar smerge-text-properties
-  `(help-echo "merge conflict: mouse-3 shows a menu"
-    ;; mouse-face highlight
-    keymap (keymap (down-mouse-3 . smerge-popup-context-menu))))
+  '(help-echo "merge conflict: mouse-3 shows a menu"
+              ;; mouse-face highlight
+              keymap (keymap (down-mouse-3 . smerge-popup-context-menu))))
 
 (defun smerge-remove-props (beg end)
   (remove-overlays beg end 'smerge 'refine)
index 4ea7ea5344208736e9bbf61ebec715e87b7d7b7f..e406660d2fd25ec7a4926220e867d3ddad2bf333 100644 (file)
@@ -289,7 +289,7 @@ in the order given by 'git status'."
     ;;  2. When a file A is renamed to B in the index and then back to A
     ;;     in the working tree.
     ;;  In both of these instances, `unregistered' is a reasonable response.
-    (`("D " "??") 'unregistered)
+    ('("D " "??") 'unregistered)
     ;;  In other cases, let us return `edited'.
     (_ 'edited)))
 
@@ -486,9 +486,9 @@ or an empty string if none."
         (files (vc-git-dir-status-state->files git-state)))
     (goto-char (point-min))
     (pcase (vc-git-dir-status-state->stage git-state)
-      (`update-index
+      ('update-index
        (setq next-stage (if (vc-git--empty-db-p) 'ls-files-added 'diff-index)))
-      (`ls-files-added
+      ('ls-files-added
        (setq next-stage 'ls-files-unknown)
        (while (re-search-forward "\\([0-7]\\{6\\}\\) [0-9a-f]\\{40\\} 0\t\\([^\0]+\\)\0" nil t)
          (let ((new-perm (string-to-number (match-string 1) 8))
@@ -496,7 +496,7 @@ or an empty string if none."
            (vc-git-dir-status-update-file
             git-state name 'added
             (vc-git-create-extra-fileinfo 0 new-perm)))))
-      (`ls-files-up-to-date
+      ('ls-files-up-to-date
        (setq next-stage 'ls-files-unknown)
        (while (re-search-forward "\\([0-7]\\{6\\}\\) [0-9a-f]\\{40\\} \\([0-3]\\)\t\\([^\0]+\\)\0" nil t)
          (let ((perm (string-to-number (match-string 1) 8))
@@ -507,7 +507,7 @@ or an empty string if none."
                                'up-to-date
                              'conflict)
             (vc-git-create-extra-fileinfo perm perm)))))
-      (`ls-files-conflict
+      ('ls-files-conflict
        (setq next-stage 'ls-files-unknown)
        ;; It's enough to look for "3" to notice a conflict.
        (while (re-search-forward "\\([0-7]\\{6\\}\\) [0-9a-f]\\{40\\} 3\t\\([^\0]+\\)\0" nil t)
@@ -516,16 +516,16 @@ or an empty string if none."
            (vc-git-dir-status-update-file
             git-state name 'conflict
             (vc-git-create-extra-fileinfo perm perm)))))
-      (`ls-files-unknown
+      ('ls-files-unknown
        (when files (setq next-stage 'ls-files-ignored))
        (while (re-search-forward "\\([^\0]*?\\)\0" nil t 1)
          (vc-git-dir-status-update-file git-state (match-string 1) 'unregistered
                                         (vc-git-create-extra-fileinfo 0 0))))
-      (`ls-files-ignored
+      ('ls-files-ignored
        (while (re-search-forward "\\([^\0]*?\\)\0" nil t 1)
          (vc-git-dir-status-update-file git-state (match-string 1) 'ignored
                                         (vc-git-create-extra-fileinfo 0 0))))
-      (`diff-index
+      ('diff-index
        (setq next-stage (if files 'ls-files-up-to-date 'ls-files-conflict))
        (while (re-search-forward
                ":\\([0-7]\\{6\\}\\) \\([0-7]\\{6\\}\\) [0-9a-f]\\{40\\} [0-9a-f]\\{40\\} \\(\\([ADMUT]\\)\0\\([^\0]+\\)\\|\\([CR]\\)[0-9]*\0\\([^\0]+\\)\0\\([^\0]+\\)\\)\0"
@@ -577,30 +577,30 @@ or an empty string if none."
   (let ((files (vc-git-dir-status-state->files git-state)))
     (erase-buffer)
     (pcase (vc-git-dir-status-state->stage git-state)
-      (`update-index
+      ('update-index
        (if files
            (vc-git-command (current-buffer) 'async files "add" "--refresh" "--")
          (vc-git-command (current-buffer) 'async nil
                          "update-index" "--refresh")))
-      (`ls-files-added
+      ('ls-files-added
        (vc-git-command (current-buffer) 'async files
                        "ls-files" "-z" "-c" "-s" "--"))
-      (`ls-files-up-to-date
+      ('ls-files-up-to-date
        (vc-git-command (current-buffer) 'async files
                        "ls-files" "-z" "-c" "-s" "--"))
-      (`ls-files-conflict
+      ('ls-files-conflict
        (vc-git-command (current-buffer) 'async files
                        "ls-files" "-z" "-u" "--"))
-      (`ls-files-unknown
+      ('ls-files-unknown
        (vc-git-command (current-buffer) 'async files
                        "ls-files" "-z" "-o" "--directory"
                        "--no-empty-directory" "--exclude-standard" "--"))
-      (`ls-files-ignored
+      ('ls-files-ignored
        (vc-git-command (current-buffer) 'async files
                        "ls-files" "-z" "-o" "-i" "--directory"
                        "--no-empty-directory" "--exclude-standard" "--"))
       ;; --relative added in Git 1.5.5.
-      (`diff-index
+      ('diff-index
        (vc-git-command (current-buffer) 'async files
                        "diff-index" "--relative" "-z" "-M" "HEAD" "--")))
     (vc-run-delayed
@@ -1189,7 +1189,7 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
 (defvar vc-git--log-view-long-font-lock-keywords nil)
 (defvar font-lock-keywords)
 (defvar vc-git-region-history-font-lock-keywords
-  `((vc-git-region-history-font-lock)))
+  '((vc-git-region-history-font-lock)))
 
 (defun vc-git-region-history-font-lock (limit)
   (let ((in-diff (save-excursion
index d528813bc0824224d0920fbf8fdb2f529385e47e..d6227d678200995d74ab145018259116a972ef9e 100644 (file)
@@ -1192,9 +1192,9 @@ REV is the revision to check out into WORKFILE."
       (insert (propertize
                (format "   (%s %s)"
                        (pcase (vc-hg-extra-fileinfo->rename-state extra)
-                         (`copied "copied from")
-                         (`renamed-from "renamed from")
-                         (`renamed-to "renamed to"))
+                         ('copied "copied from")
+                         ('renamed-from "renamed from")
+                         ('renamed-to "renamed to"))
                        (vc-hg-extra-fileinfo->extra-name extra))
                'face 'font-lock-comment-face)))))
 
index 94cf7691e3ef19c05d22546ffbe4f1453d97198c..efb141b9970f23032b3fd4988fd8d029c3f33395 100644 (file)
@@ -190,8 +190,8 @@ switches."
                 (setq branch (replace-match (cdr rule) t nil branch))))
           (format "Mtn%c%s"
                   (pcase (vc-state file)
-                    ((or `up-to-date `needs-update) ?-)
-                    (`added ?@)
+                    ((or 'up-to-date 'needs-update) ?-)
+                    ('added ?@)
                     (_ ?:))
                   branch))
       "")))
index 51a444396250d2b15b80fe03ecf148987af313d9..7970fce637e9bdfe5b4fe52c1d44d6c0b745f547 100644 (file)
@@ -684,13 +684,13 @@ Optional arg REVISION is a revision to annotate from."
           (forward-line (1- (pop insn)))
           (setq p (point))
           (pcase (pop insn)
-            (`k (setq s (buffer-substring-no-properties
+            ('k (setq s (buffer-substring-no-properties
                          p (progn (forward-line (car insn))
                                   (point))))
                 (when prda
                   (push `(,p . ,(propertize s :vc-rcs-r/d/a prda)) path))
                 (delete-region p (point)))
-            (`i (setq s (car insn))
+            ('i (setq s (car insn))
                 (when prda
                   (push `(,p . ,(length s)) path))
                 (insert s)))))
@@ -716,10 +716,10 @@ Optional arg REVISION is a revision to annotate from."
                    (goto-char (point-min))
                    (forward-line (1- (pop insn)))
                    (pcase (pop insn)
-                     (`k (delete-region
+                     ('k (delete-region
                           (point) (progn (forward-line (car insn))
                                          (point))))
-                     (`i (insert (propertize
+                     ('i (insert (propertize
                                   (car insn)
                                   :vc-rcs-r/d/a
                                   (or prda (setq prda (r/d/a))))))))
index d8249316e4b893a712e50f043966c569a363ad39..af06f7ccb14427383b5a7508bed02991dd5f89f5 100644 (file)
@@ -1708,7 +1708,7 @@ cleaning up these problems."
                        (setq has-bogus (memq (car option) style)))
                      t)))
              whitespace-report-list)))
-      (when (pcase report-if-bogus (`nil t) (`never nil) (_ has-bogus))
+      (when (pcase report-if-bogus ('nil t) ('never nil) (_ has-bogus))
         (whitespace-kill-buffer whitespace-report-buffer-name)
         ;; `indent-tabs-mode' may be local to current buffer
         ;; `tab-width' may be local to current buffer
index 43a742b2d8c27ea4cd3072647cad23f4413001e4..2634955a755f57f61a81764997fa5d83c69b7f29 100644 (file)
@@ -5562,7 +5562,7 @@ specific buffers."
                                            (window-prev-buffers window)))))
         (head
          `(,type
-            ,@(unless (window-next-sibling window) `((last . t)))
+            ,@(unless (window-next-sibling window) '((last . t)))
             (pixel-width . ,(window-pixel-width window))
             (pixel-height . ,(window-pixel-height window))
             (total-width . ,(window-total-width window))
@@ -7824,9 +7824,9 @@ Return the buffer switched to."
            ((window-minibuffer-p) nil)
            ((not (eq (window-dedicated-p) t)) 'force-same-window)
            ((pcase switch-to-buffer-in-dedicated-window
-              (`nil (user-error
+              ('nil (user-error
                      "Cannot switch buffers in a dedicated window"))
-              (`prompt
+              ('prompt
                (if (y-or-n-p
                     (format "Window is dedicated to %s; undedicate it"
                             (window-buffer)))
@@ -7835,7 +7835,7 @@ Return the buffer switched to."
                      'force-same-window)
                  (user-error
                   "Cannot switch buffers in a dedicated window")))
-              (`pop nil)
+              ('pop nil)
               (_ (set-window-dedicated-p nil nil) 'force-same-window))))))
      (list (read-buffer-to-switch "Switch to buffer: ") nil force-same-window)))
   (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
index 7e94dfa496ca5b58ca564033a946ae3494b1dbe0..a665d2eb28815e7ab43dda971aebb1bddd7dbc82 100644 (file)
@@ -179,9 +179,9 @@ The buffer's contents should %s:
                         ""
                         "-in-comments")))
                  (if test-in-strings
-                     `(("\"" "\"" "-in-strings")))
+                     '(("\"" "\"" "-in-strings")))
                  (if test-in-code
-                     `(("" "" ""))))
+                     '(("" "" ""))))
          append
          (cl-loop
           for char across input
index f100e8c6c5fb0ae678fd264051313c40075ba17d..a338e16f7bcff608cda4905cf4f7353c4054d3ef 100644 (file)
     (should-error (cl-struct-slot-offset 'mystruct 'marypoppins))
     (should (pcase (cl-struct-slot-info 'mystruct)
               (`((cl-tag-slot) (abc 5 :readonly t)
-                 (def . ,(or `nil `(nil))))
+                 (def . ,(or 'nil '(nil))))
                t)))))
 (ert-deftest cl-lib-struct-constructors ()
   (should (string-match "\\`Constructor docstring."
index 1fe5b79ef3683cf61c9a59312b48ded5d23973e6..06e3fb292b1589f9ad96834e06a56a11a9466db3 100644 (file)
@@ -188,7 +188,7 @@ failed or if there was a problem."
 
 (ert-deftest ert-test-should-with-macrolet ()
   (let ((test (make-ert-test :body (lambda ()
-                                     (cl-macrolet ((foo () `(progn t nil)))
+                                     (cl-macrolet ((foo () '(progn t nil)))
                                        (should (foo)))))))
     (let ((result (let ((ert-debug-on-error nil))
                     (ert-run-test test))))
@@ -490,9 +490,9 @@ This macro is used to test if macroexpansion in `should' works."
                :name nil
                :body nil
                :tags '(a b))))
-    (should (equal (ert-select-tests `(tag a) (list test)) (list test)))
-    (should (equal (ert-select-tests `(tag b) (list test)) (list test)))
-    (should (equal (ert-select-tests `(tag c) (list test)) '()))))
+    (should (equal (ert-select-tests '(tag a) (list test)) (list test)))
+    (should (equal (ert-select-tests '(tag b) (list test)) (list test)))
+    (should (equal (ert-select-tests '(tag c) (list test)) '()))))
 
 
 ;;; Tests for utility functions.
index c1e98a6935eddc14b3ff2725dbbb9b5e80bdd8d5..69c3838f0ae11fb40c49f39fc0150cd6541765cb 100644 (file)
@@ -82,7 +82,7 @@
           (setf (epg-context-home-directory context)
                 epg-tests-home-directory)
           ,(if require-passphrase
-               `(with-temp-file (expand-file-name
+               '(with-temp-file (expand-file-name
                                   "gpg-agent.conf" epg-tests-home-directory)
                    (insert "pinentry-program "
                            (expand-file-name "dummy-pinentry"
                     context
                     #'epg-tests-passphrase-callback)))
           ,(if require-public-key
-               `(epg-import-keys-from-file
+               '(epg-import-keys-from-file
                  context
                  (expand-file-name "pubkey.asc" epg-tests-data-directory)))
           ,(if require-secret-key
-               `(epg-import-keys-from-file
+               '(epg-import-keys-from-file
                  context
                  (expand-file-name "seckey.asc" epg-tests-data-directory)))
           (with-temp-buffer
index 1a84c30e33dcab19757bc8eb24132fbf9229dd01..585eb20bfebd19c317a2474025095bd11518e0ee 100644 (file)
@@ -64,7 +64,7 @@
                             (unless (memq method '(+ - * / vconcat append
                                                      sit-for ignore))
                               (signal 'jsonrpc-error
-                                      `((jsonrpc-error-message
+                                      '((jsonrpc-error-message
                                          . "Sorry, this isn't allowed")
                                         (jsonrpc-error-code . -32601))))
                             (apply method (append params nil)))
index 3cd4802a9814e6083103e1b1a234cd956d98aa5e..d41c762328988ecf6b750d33b7e57c0a81650fb7 100644 (file)
@@ -484,7 +484,7 @@ comparing the subr with a much slower lisp implementation."
         (should-have-watch-data `(data-tests-lvar 3 set ,buf1)))
       (should-have-watch-data `(data-tests-lvar 1 unlet ,buf1))
       (setq-default data-tests-lvar 4)
-      (should-have-watch-data `(data-tests-lvar 4 set nil))
+      (should-have-watch-data '(data-tests-lvar 4 set nil))
       (with-temp-buffer
         (setq buf2 (current-buffer))
         (setq data-tests-lvar 1)
@@ -501,7 +501,7 @@ comparing the subr with a much slower lisp implementation."
         (kill-all-local-variables)
         (should-have-watch-data `(data-tests-lvar nil makunbound ,buf2)))
       (setq-default data-tests-lvar 4)
-      (should-have-watch-data `(data-tests-lvar 4 set nil))
+      (should-have-watch-data '(data-tests-lvar 4 set nil))
       (makunbound 'data-tests-lvar)
       (should-have-watch-data '(data-tests-lvar nil makunbound nil))
       (setq data-tests-lvar 5)
index bffee8f39d31d5673eab9469332da25c2a00b19f..651b0a0bb7a0c431e3dbf43c4813528d4bcd2d8f 100644 (file)
@@ -86,8 +86,8 @@
   (should (equal
            (json-serialize
             (list :detect-hash-table #s(hash-table test equal data ("bla" "ble"))
-                  :detect-alist `((bla . "ble"))
-                  :detect-plist `(:bla "ble")))
+                  :detect-alist '((bla . "ble"))
+                  :detect-plist '(:bla "ble")))
            "\
 {\
 \"detect-hash-table\":{\"bla\":\"ble\"},\