diff options
| author | Glenn Morris | 2013-05-10 19:17:45 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-05-10 19:17:45 -0700 |
| commit | 0da7ad96c4f13101543a194f38de23f2b63a4244 (patch) | |
| tree | 47c9c207f1fe9e7ee79451d47a7660180e0731b5 | |
| parent | 8582e4c4b9f64b25e02af620fc0c1ca89149063c (diff) | |
| download | emacs-0da7ad96c4f13101543a194f38de23f2b63a4244.tar.gz emacs-0da7ad96c4f13101543a194f38de23f2b63a4244.zip | |
* lisp/emulation/edt-mapper.el: In batch mode, error rather than hang.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/emulation/edt-mapper.el | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ec747affc95..5b9cf1dc455 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-05-11 Glenn Morris <rgm@gnu.org> | 1 | 2013-05-11 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emulation/edt-mapper.el: In batch mode, error rather than hang. | ||
| 4 | |||
| 3 | * term.el (term-set-escape-char): Make it idempotent. | 5 | * term.el (term-set-escape-char): Make it idempotent. |
| 4 | 6 | ||
| 5 | 2013-05-10 Leo Liu <sdl.web@gmail.com> | 7 | 2013-05-10 Leo Liu <sdl.web@gmail.com> |
diff --git a/lisp/emulation/edt-mapper.el b/lisp/emulation/edt-mapper.el index 5ddb9513f0a..138e3e6d0da 100644 --- a/lisp/emulation/edt-mapper.el +++ b/lisp/emulation/edt-mapper.el | |||
| @@ -96,6 +96,10 @@ | |||
| 96 | 96 | ||
| 97 | ;;; Code: | 97 | ;;; Code: |
| 98 | 98 | ||
| 99 | ;; Otherwise it just hangs. This seems preferable. | ||
| 100 | (if noninteractive | ||
| 101 | (error "edt-mapper cannot be loaded in batch mode")) | ||
| 102 | |||
| 99 | ;;; | 103 | ;;; |
| 100 | ;;; Decide Emacs Variant, GNU Emacs or XEmacs (aka Lucid Emacs). | 104 | ;;; Decide Emacs Variant, GNU Emacs or XEmacs (aka Lucid Emacs). |
| 101 | ;;; Determine Window System, and X Server Vendor (if appropriate). | 105 | ;;; Determine Window System, and X Server Vendor (if appropriate). |