diff options
| -rw-r--r-- | etc/NEWS | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/desktop.el | 9 |
3 files changed, 14 insertions, 5 deletions
| @@ -153,6 +153,11 @@ which have not been renamed to `cl-foo*' but just `cl-foo'. | |||
| 153 | The old `cl' is now deprecated and is nothing more than a bunch of aliases that | 153 | The old `cl' is now deprecated and is nothing more than a bunch of aliases that |
| 154 | provide the old non-prefixed names. | 154 | provide the old non-prefixed names. |
| 155 | 155 | ||
| 156 | ** Desktop | ||
| 157 | |||
| 158 | *** `desktop-path' no longer includes the "." directory. Desktop | ||
| 159 | files are now located in ~/.emacs.d by default. | ||
| 160 | |||
| 156 | ** A new mode for Python. | 161 | ** A new mode for Python. |
| 157 | This provides several new features, including: | 162 | This provides several new features, including: |
| 158 | per-buffer shells, better indentation, Python 3 support, and improved | 163 | per-buffer shells, better indentation, Python 3 support, and improved |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d7716f5fa1a..4d130250dcf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-06-21 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674). | ||
| 4 | (desktop-path): Remove . from the default value (Bug#10977). | ||
| 5 | |||
| 1 | 2012-06-20 Chong Yidong <cyd@gnu.org> | 6 | 2012-06-20 Chong Yidong <cyd@gnu.org> |
| 2 | 7 | ||
| 3 | * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172). | 8 | * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172). |
diff --git a/lisp/desktop.el b/lisp/desktop.el index 5d9982940bf..2fd9d7f10ad 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -220,7 +220,7 @@ the normal hook `desktop-not-loaded-hook' is run." | |||
| 220 | :group 'desktop | 220 | :group 'desktop |
| 221 | :version "22.2") | 221 | :version "22.2") |
| 222 | 222 | ||
| 223 | (defcustom desktop-path (list "." user-emacs-directory "~") | 223 | (defcustom desktop-path (list user-emacs-directory "~") |
| 224 | "List of directories to search for the desktop file. | 224 | "List of directories to search for the desktop file. |
| 225 | The base name of the file is specified in `desktop-base-file-name'." | 225 | The base name of the file is specified in `desktop-base-file-name'." |
| 226 | :type '(repeat directory) | 226 | :type '(repeat directory) |
| @@ -410,8 +410,7 @@ is passed as the argument DESKTOP-BUFFER-MISC to functions in | |||
| 410 | 'desktop-save-buffer "22.1") | 410 | 'desktop-save-buffer "22.1") |
| 411 | 411 | ||
| 412 | ;;;###autoload | 412 | ;;;###autoload |
| 413 | (defvar desktop-buffer-mode-handlers | 413 | (defvar desktop-buffer-mode-handlers nil |
| 414 | nil | ||
| 415 | "Alist of major mode specific functions to restore a desktop buffer. | 414 | "Alist of major mode specific functions to restore a desktop buffer. |
| 416 | Functions listed are called by `desktop-create-buffer' when `desktop-read' | 415 | Functions listed are called by `desktop-create-buffer' when `desktop-read' |
| 417 | evaluates the desktop file. List elements must have the form | 416 | evaluates the desktop file. List elements must have the form |
| @@ -471,8 +470,7 @@ this table. See also `desktop-minor-mode-handlers'." | |||
| 471 | :group 'desktop) | 470 | :group 'desktop) |
| 472 | 471 | ||
| 473 | ;;;###autoload | 472 | ;;;###autoload |
| 474 | (defvar desktop-minor-mode-handlers | 473 | (defvar desktop-minor-mode-handlers nil |
| 475 | nil | ||
| 476 | "Alist of functions to restore non-standard minor modes. | 474 | "Alist of functions to restore non-standard minor modes. |
| 477 | Functions are called by `desktop-create-buffer' to restore minor modes. | 475 | Functions are called by `desktop-create-buffer' to restore minor modes. |
| 478 | List elements must have the form | 476 | List elements must have the form |
| @@ -981,6 +979,7 @@ It returns t if a desktop file was loaded, nil otherwise." | |||
| 981 | (if (and owner | 979 | (if (and owner |
| 982 | (memq desktop-load-locked-desktop '(nil ask)) | 980 | (memq desktop-load-locked-desktop '(nil ask)) |
| 983 | (or (null desktop-load-locked-desktop) | 981 | (or (null desktop-load-locked-desktop) |
| 982 | (daemonp) | ||
| 984 | (not (y-or-n-p (format "Warning: desktop file appears to be in use by PID %s.\n\ | 983 | (not (y-or-n-p (format "Warning: desktop file appears to be in use by PID %s.\n\ |
| 985 | Using it may cause conflicts. Use it anyway? " owner))))) | 984 | Using it may cause conflicts. Use it anyway? " owner))))) |
| 986 | (let ((default-directory desktop-dirname)) | 985 | (let ((default-directory desktop-dirname)) |