diff options
| author | Juanma Barranquero | 2005-07-19 23:42:38 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-07-19 23:42:38 +0000 |
| commit | 3f32d6a3edf422a52ac4c06beeeb42ff22e13ad8 (patch) | |
| tree | 44b8b153c81ec4e71196d732a83359243da75aeb | |
| parent | 41bfd17eff307782f8914b5f18a228cb82edbabe (diff) | |
| download | emacs-3f32d6a3edf422a52ac4c06beeeb42ff22e13ad8.tar.gz emacs-3f32d6a3edf422a52ac4c06beeeb42ff22e13ad8.zip | |
(desktop-enable, desktop-basefilename): Declare with
`define-obsolete-variable-alias'.
(desktop-internal-v2s): Don't quote keywords.
(desktop-clear): "?\ " -> "?\s".
| -rw-r--r-- | lisp/ChangeLog | 21 | ||||
| -rw-r--r-- | lisp/desktop.el | 9 |
2 files changed, 20 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6511ab2cdd1..268547ca204 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,16 +1,27 @@ | |||
| 1 | 2005-07-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * desktop.el (desktop-enable, desktop-basefilename): | ||
| 4 | Declare with `define-obsolete-variable-alias'. | ||
| 5 | (desktop-internal-v2s): Don't quote keywords. | ||
| 6 | (desktop-clear): "?\ " -> "?\s". | ||
| 7 | |||
| 8 | * textmodes/org.el (org-table-formula-substitute-names) | ||
| 9 | (org-table-get-vertical-vector): Doc fixes. | ||
| 10 | (org-table-recalculate): Remove unused argument to `message'. | ||
| 11 | |||
| 1 | 2005-07-19 Carsten Dominik <dominik@science.uva.nl> | 12 | 2005-07-19 Carsten Dominik <dominik@science.uva.nl> |
| 2 | 13 | ||
| 3 | * textmodes/org.el: (org-table-column-names, | 14 | * textmodes/org.el (org-table-column-names) |
| 4 | org-table-column-name-regexp) | 15 | (org-table-column-name-regexp) |
| 5 | (org-table-named-field-locations): New variables. | 16 | (org-table-named-field-locations): New variables. |
| 6 | (org-archive-subtree): Protect `this-command' when calling | 17 | (org-archive-subtree): Protect `this-command' when calling |
| 7 | `org-copy-subtree' and `org-cut-subtree', to avoid appending to | 18 | `org-copy-subtree' and `org-cut-subtree', to avoid appending to |
| 8 | the kill buffer. | 19 | the kill buffer. |
| 9 | (org-complete): Removed fixed-formula completion. | 20 | (org-complete): Remove fixed-formula completion. |
| 10 | (org-edit-formulas-map): New variable. | 21 | (org-edit-formulas-map): New variable. |
| 11 | (org-table-edit-formulas): New command. | 22 | (org-table-edit-formulas): New command. |
| 12 | (org-finish-edit-formulas, org-abort-edit-formulas, | 23 | (org-finish-edit-formulas, org-abort-edit-formulas) |
| 13 | org-show-variable, org-table-get-vertical-vector): New functions. | 24 | (org-show-variable, org-table-get-vertical-vector): New functions. |
| 14 | (org-table-maybe-eval-formula): Handle `:=' fields. | 25 | (org-table-maybe-eval-formula): Handle `:=' fields. |
| 15 | (org-table-get-stored-formulas, org-table-store-formulas) | 26 | (org-table-get-stored-formulas, org-table-store-formulas) |
| 16 | (org-table-get-formula, org-table-modify-formulas) | 27 | (org-table-get-formula, org-table-modify-formulas) |
diff --git a/lisp/desktop.el b/lisp/desktop.el index 2c50f2323b2..d1673b0e7d1 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -106,8 +106,7 @@ desktop is saved." | |||
| 106 | :group 'desktop) | 106 | :group 'desktop) |
| 107 | 107 | ||
| 108 | ;; Maintained for backward compatibility | 108 | ;; Maintained for backward compatibility |
| 109 | (defvaralias 'desktop-enable 'desktop-save-mode) | 109 | (define-obsolete-variable-alias 'desktop-enable 'desktop-save-mode "22.1") |
| 110 | (make-obsolete-variable 'desktop-enable 'desktop-save-mode "22.1") | ||
| 111 | 110 | ||
| 112 | (defcustom desktop-save 'ask-if-new | 111 | (defcustom desktop-save 'ask-if-new |
| 113 | "*Specifies whether the desktop should be saved when it is killed. | 112 | "*Specifies whether the desktop should be saved when it is killed. |
| @@ -137,7 +136,7 @@ determine where the desktop is saved." | |||
| 137 | "Name of file for Emacs desktop, excluding the directory part." | 136 | "Name of file for Emacs desktop, excluding the directory part." |
| 138 | :type 'file | 137 | :type 'file |
| 139 | :group 'desktop) | 138 | :group 'desktop) |
| 140 | (defvaralias 'desktop-basefilename 'desktop-base-file-name) | 139 | (define-obsolete-variable-alias 'desktop-basefilename 'desktop-base-file-name "22.1") |
| 141 | 140 | ||
| 142 | (defcustom desktop-path '("." "~") | 141 | (defcustom desktop-path '("." "~") |
| 143 | "List of directories to search for the desktop file. | 142 | "List of directories to search for the desktop file. |
| @@ -399,7 +398,7 @@ variables listed in `desktop-globals-to-clear'." | |||
| 399 | (string-match desktop-clear-preserve-buffers-regexp bufname) | 398 | (string-match desktop-clear-preserve-buffers-regexp bufname) |
| 400 | (member bufname desktop-clear-preserve-buffers) | 399 | (member bufname desktop-clear-preserve-buffers) |
| 401 | ;; Don't kill buffers made for internal purposes. | 400 | ;; Don't kill buffers made for internal purposes. |
| 402 | (and (not (equal bufname "")) (eq (aref bufname 0) ?\ )) | 401 | (and (not (equal bufname "")) (eq (aref bufname 0) ?\s)) |
| 403 | (kill-buffer (car buffers)))) | 402 | (kill-buffer (car buffers)))) |
| 404 | (setq buffers (cdr buffers)))) | 403 | (setq buffers (cdr buffers)))) |
| 405 | (delete-other-windows)) | 404 | (delete-other-windows)) |
| @@ -454,7 +453,7 @@ TXT is a string that when read and evaluated yields value. | |||
| 454 | QUOTE may be `may' (value may be quoted), | 453 | QUOTE may be `may' (value may be quoted), |
| 455 | `must' (values must be quoted), or nil (value may not be quoted)." | 454 | `must' (values must be quoted), or nil (value may not be quoted)." |
| 456 | (cond | 455 | (cond |
| 457 | ((or (numberp value) (null value) (eq t value)) | 456 | ((or (numberp value) (null value) (eq t value) (keywordp value)) |
| 458 | (cons 'may (prin1-to-string value))) | 457 | (cons 'may (prin1-to-string value))) |
| 459 | ((stringp value) | 458 | ((stringp value) |
| 460 | (let ((copy (copy-sequence value))) | 459 | (let ((copy (copy-sequence value))) |