diff options
| author | Lars Magne Ingebrigtsen | 2011-07-16 22:01:37 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-16 22:01:37 +0200 |
| commit | 3ee3a1b5386a4df89314aa10ee1e596ae3d60446 (patch) | |
| tree | 6d7da55cbba4114bc2677294d768b3ddeb204bc1 | |
| parent | aa57197f1f28ae6c54257f61ce40152cc095b7ae (diff) | |
| download | emacs-3ee3a1b5386a4df89314aa10ee1e596ae3d60446.tar.gz emacs-3ee3a1b5386a4df89314aa10ee1e596ae3d60446.zip | |
Make `buffer-offer-save' permanently local
Fixes: debbugs:6241
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/files.el | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 48f61a55552..a6b66ca2678 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * files.el (buffer-offer-save): Made permanently local (bug#6241). | ||
| 4 | |||
| 3 | * doc-view.el (doc-view-make-safe-dir): Rewrite the error message | 5 | * doc-view.el (doc-view-make-safe-dir): Rewrite the error message |
| 4 | to clarify what the problem is (bug#4291). | 6 | to clarify what the problem is (bug#4291). |
| 5 | 7 | ||
diff --git a/lisp/files.el b/lisp/files.el index 0b253fcc297..6b8a352f20c 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -151,6 +151,7 @@ Automatically local in all buffers." | |||
| 151 | :type 'boolean | 151 | :type 'boolean |
| 152 | :group 'backup) | 152 | :group 'backup) |
| 153 | (make-variable-buffer-local 'buffer-offer-save) | 153 | (make-variable-buffer-local 'buffer-offer-save) |
| 154 | (put 'buffer-offer-save 'permanent-local t) | ||
| 154 | 155 | ||
| 155 | (defcustom find-file-existing-other-name t | 156 | (defcustom find-file-existing-other-name t |
| 156 | "Non-nil means find a file under alternative names, in existing buffers. | 157 | "Non-nil means find a file under alternative names, in existing buffers. |