diff options
| author | Glenn Morris | 2009-09-22 02:28:43 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-09-22 02:28:43 +0000 |
| commit | a8d789f079ec333b9eef00263c8aeb4783dbc5fe (patch) | |
| tree | 06bd0aa60951c26d007f2769f0a74ffa4c0cad94 | |
| parent | 76f2c576919a3794e91ca9f6150d3b4cbbffb384 (diff) | |
| download | emacs-a8d789f079ec333b9eef00263c8aeb4783dbc5fe.tar.gz emacs-a8d789f079ec333b9eef00263c8aeb4783dbc5fe.zip | |
(tpu-copy-keyfile): Fix condition-case handler.
| -rw-r--r-- | lisp/ChangeLog | 55 | ||||
| -rw-r--r-- | lisp/emulation/tpu-edt.el | 6 |
2 files changed, 58 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b0ecec11bbd..a1bfe168961 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,58 @@ | |||
| 1 | 2009-09-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler. | ||
| 4 | |||
| 5 | * emacs-lisp/elint.el (elint): New custom group. | ||
| 6 | (elint-log-buffer): Make it a defcustom. | ||
| 7 | (elint-scan-preloaded, elint-ignored-warnings) | ||
| 8 | (elint-directory-skip-re): New options. | ||
| 9 | (elint-builtin-variables): Doc fix. | ||
| 10 | (elint-preloaded-env): New variable. | ||
| 11 | (elint-unknown-builtin-args): Add an entry for encode-time. | ||
| 12 | (elint-extra-errors): Make it a variable rather than a constant. | ||
| 13 | (elint-preloaded-skip-re): New constant. | ||
| 14 | (elint-directory): Skip files matching elint-directory-skip-re. | ||
| 15 | (elint-features): New variable, local to linted buffers. | ||
| 16 | (elint-update-env): Initialize elint-features. Possibly add | ||
| 17 | elint-preloaded-env to the buffer's environment. | ||
| 18 | (elint-get-top-forms): Bind elint-current-pos, for log messages. | ||
| 19 | Skip quoted forms. | ||
| 20 | (elint-init-form): New function, extracted from elint-init-env. | ||
| 21 | Make non-list forms a warning rather than an error. | ||
| 22 | Add the mode-map for define-derived-mode. Handle define-minor-mode, | ||
| 23 | easy-menu-define, put that adds an error-condition, and provide. | ||
| 24 | When requiring cl, also require cl-macs. Really require cl, to handle | ||
| 25 | some cl macros. Store required libraries in the list elint-features, | ||
| 26 | so as not to re-load them. Treat cc-require like require. | ||
| 27 | (elint-init-env): Call elint-init-form to do the work. | ||
| 28 | Handle eval-and-compile and such like. | ||
| 29 | (elint-add-required-env): Do not clear messages. | ||
| 30 | (elint-special-forms): Add handlers for function, defalias, if, when, | ||
| 31 | unless, and, or. | ||
| 32 | (elint-form): Add optional argument to ignore elint-special-forms, | ||
| 33 | useful to prevent recursive calls from handlers. Doc fix. | ||
| 34 | Respect elint-ignored-warnings. | ||
| 35 | (elint-form): Respect elint-ignored-warnings. | ||
| 36 | (elint-bound-variable, elint-bound-function): New variables. | ||
| 37 | (elint-unbound-variable): Respect elint-bound-variable. | ||
| 38 | (elint-get-args): Respect elint-bound-function. | ||
| 39 | (elint-check-cond-form): Add some simple handling for (f)boundp and | ||
| 40 | featurep tests. | ||
| 41 | (elint-check-defalias-form): New handler. | ||
| 42 | (elint-check-let-form): Make an empty let a warning rather than an | ||
| 43 | error. | ||
| 44 | (elint-check-setq-form): Make an empty setq a warning rather than an | ||
| 45 | error. Respect elint-ignored-warnings. | ||
| 46 | (elint-check-defvar-form): Accept null doc-strings. | ||
| 47 | (elint-check-conditional-form): New handler. Does some simple-minded | ||
| 48 | checking of featurep and (f)boundp tests. | ||
| 49 | (elint-put-function-args): New function. | ||
| 50 | (elint-initialize): Use elint-scan-doc-file rather than | ||
| 51 | elint-find-builtin-variables. Use elint-put-function-args. | ||
| 52 | Possibly scan preloaded-file-list. | ||
| 53 | (elint-scan-doc-file): Rename from elint-find-builtin-variables and | ||
| 54 | extend to handle functions as well. | ||
| 55 | |||
| 1 | 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com> | 56 | 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com> |
| 2 | 57 | ||
| 3 | * linum.el (linum-delete-overlays, linum-update-window): | 58 | * linum.el (linum-delete-overlays, linum-update-window): |
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el index 864b2db46a4..c0fca58a5a8 100644 --- a/lisp/emulation/tpu-edt.el +++ b/lisp/emulation/tpu-edt.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; tpu-edt.el --- Emacs emulating TPU emulating EDT | 1 | ;;; tpu-edt.el --- Emacs emulating TPU emulating EDT |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004, 2005, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Rob Riepel <riepel@networking.stanford.edu> | 6 | ;; Author: Rob Riepel <riepel@networking.stanford.edu> |
| 7 | ;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> | 7 | ;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> |
| @@ -2374,7 +2374,7 @@ If FILE is nil, try to load a default file. The default file names are | |||
| 2374 | (and (tpu-y-or-n-p "Copy key definitions to the new file now? ") | 2374 | (and (tpu-y-or-n-p "Copy key definitions to the new file now? ") |
| 2375 | (condition-case conditions | 2375 | (condition-case conditions |
| 2376 | (copy-file oldname newname) | 2376 | (copy-file oldname newname) |
| 2377 | (tpu-error (message "Sorry, couldn't copy - %s." (cdr conditions))))) | 2377 | (error (message "Sorry, couldn't copy - %s." (cdr conditions))))) |
| 2378 | (kill-buffer "*TPU-Notice*"))) | 2378 | (kill-buffer "*TPU-Notice*"))) |
| 2379 | 2379 | ||
| 2380 | (defvar tpu-edt-old-global-values nil) | 2380 | (defvar tpu-edt-old-global-values nil) |