auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] [elpa] externals/auctex 4776fd0 25/80: ; Remove compatibi


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 4776fd0 25/80: ; Remove compatibility code for older emacsen
Date: Wed, 16 Oct 2019 11:07:10 -0400 (EDT)

branch: externals/auctex
commit 4776fd0327e44038c895b9ba35959f7f7f4e9fb5
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>

    ; Remove compatibility code for older emacsen
    
    * multi-prompt.el (multi-prompt): Remove fallback for older emacsen.
    (): Update copyright year.
---
 multi-prompt.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/multi-prompt.el b/multi-prompt.el
index 8337ebc..f7632be 100644
--- a/multi-prompt.el
+++ b/multi-prompt.el
@@ -1,6 +1,7 @@
 ;;; multi-prompt.el --- Completing read of multiple strings
 
-;; Copyright (C) 1996, 1997, 2000, 2009, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 1996, 1997, 2000, 2009, 2014, 2019 Free Software
+;; Foundation, Inc.
 
 ;; Author: Per Abrahamsen <address@hidden>
 ;; Maintainer: address@hidden
@@ -52,10 +53,7 @@ are the arguments to `completing-read'.  See that."
                     minibuffer-local-must-match-map
                   minibuffer-local-completion-map))
        (new-map (make-sparse-keymap)))
-    (if (fboundp 'set-keymap-parent)
-       ;; `set-keymap-parent' was introduced in Emacs 19.32.
-       (set-keymap-parent new-map old-map)
-      (setq new-map (copy-keymap old-map)))
+    (set-keymap-parent new-map old-map)
     (define-key new-map separator (if require-match
                                      'multi-prompt-next-must-match
                                    'multi-prompt-next))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]