1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-27 10:54:40 +00:00

* menu-bar.el (menu-bar-options-menu): Supply a body for the

[save-place] binding in the Options menu.  Have it require 'saveplace'
and then toggle the variable manually, to avoid an an unbound variable
error.  Thanks to <Sebastien.Kirche@sage.com> for the bug report.
This commit is contained in:
Karl Fogel 2003-08-12 05:14:49 +00:00
parent 2ff0458dd0
commit aef1a2e639
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2003-08-11 Karl Fogel <kfogel@red-bean.com>
* menu-bar.el (menu-bar-options-menu): Supply a body for the
[save-place] binding in the Options menu. Have it require
'saveplace' and then toggle the variable manually, to avoid an an
unbound variable error. Thanks to <Sebastien.Kirche@sage.com>
for the bug report.
2003-08-11 Nick Roberts <nick@nick.uklinux.net>
* gdb-ui.el (gdb-insert-field, gdb-array-format1)

View File

@ -870,7 +870,12 @@ PROPS are additional properties."
(menu-bar-make-toggle toggle-save-place-globally save-place
"Save Place in Files between Sessions"
"Saving place in files %s"
"Visit files of previous session when restarting Emacs"))
"Visit files of previous session when restarting Emacs"
(require 'saveplace)
;; Do it by name, to avoid a free-variable
;; warning during byte compilation.
(set-default
'save-place (not (symbol-value 'save-place)))))
(define-key menu-bar-options-menu [uniquify]
(menu-bar-make-toggle toggle-uniquify-buffer-names uniquify-buffer-name-style