]> git.eshelyaron.com Git - emacs.git/commitdiff
* obsolete/pc-select.el (pc-selection-mode): Use system-type.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Dec 2014 20:45:25 +0000 (12:45 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Dec 2014 20:45:47 +0000 (12:45 -0800)
This is instead of system-name, which is both wrong here and obsolete.

lisp/ChangeLog
lisp/obsolete/pc-select.el

index 7bfc38c9b705735e66598b2191438d540a352b9c..5ad67ab4cd7cb5625180c1ce239d948152e4790b 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * obsolete/pc-select.el (pc-selection-mode): Use system-type.
+       This is instead of system-name, which is both wrong here and obsolete.
+
 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
 
        * menu-bar.el (menu-bar-next-tag-other-window)
index 5ee0818a1e5879932fd6edbe1e37cc602d41994d..5404f490b88120858ad7530fa24af280d408ae36 100644 (file)
@@ -337,7 +337,7 @@ but before calling PC Selection mode):
                            (cadr pc-select-meta-moves-sexps-key-bindings))
                          (if  (or pc-select-selection-keys-only
                                   (eq window-system 'x)
-                                  (memq system-name '(ms-dos windows-nt)))
+                                  (memq system-type '(ms-dos windows-nt)))
                              nil
                            pc-select-tty-key-bindings)))
 
@@ -346,7 +346,7 @@ but before calling PC Selection mode):
 
            (unless  (or pc-select-selection-keys-only
                         (eq window-system 'x)
-                        (memq system-name '(ms-dos windows-nt)))
+                        (memq system-type '(ms-dos windows-nt)))
              ;; it is not clear that we need the following line
              ;; I hope it doesn't do too much harm to leave it in, though...
              (setq pc-select-old-M-delete-binding
@@ -355,7 +355,7 @@ but before calling PC Selection mode):
 
            (when (and (not pc-select-selection-keys-only)
                       (or (eq window-system 'x)
-                          (memq system-name '(ms-dos windows-nt)))
+                          (memq system-type '(ms-dos windows-nt)))
                       (fboundp 'normal-erase-is-backspace-mode))
              (pc-select-save-and-set-mode normal-erase-is-backspace-mode 1
                                           normal-erase-is-backspace))
@@ -378,13 +378,13 @@ but before calling PC Selection mode):
                               (current-global-map))
        (unless  (or pc-select-selection-keys-only
                     (eq window-system 'x)
-                    (memq system-name '(ms-dos windows-nt)))
+                    (memq system-type '(ms-dos windows-nt)))
          ;; it is not clear that we need the following line
          ;; I hope it doesn't do too much harm to leave it in, though...
          (define-key function-key-map  [M-delete] [?\M-d]))
        (when (and (not pc-select-selection-keys-only)
                   (or (eq window-system 'x)
-                      (memq system-name '(ms-dos windows-nt)))
+                      (memq system-type '(ms-dos windows-nt)))
                   (fboundp 'normal-erase-is-backspace-mode))
          (normal-erase-is-backspace-mode 1))
        (setq highlight-nonselected-windows nil)
@@ -395,7 +395,7 @@ but before calling PC Selection mode):
     (when pc-select-key-bindings-alist
       (when (and (not pc-select-selection-keys-only)
                 (or (eq window-system 'x)
-                    (memq system-name '(ms-dos windows-nt))))
+                    (memq system-type '(ms-dos windows-nt))))
        (pc-select-restore-mode normal-erase-is-backspace-mode))
 
       (pc-select-restore-keys