branch: externals/auctex
commit 4776fd0327e44038c895b9ba35959f7f7f4e9fb5
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
; 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 <[email protected]>
;; Maintainer: [email protected]
@@ -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))