Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ae4370a8
Commit
ae4370a8
authored
Feb 29, 2008
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(desktop-save): Save the buffer name if the uniquified base name is empty.
parent
10cbc34f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
lisp/ChangeLog
lisp/ChangeLog
+7
-3
lisp/desktop.el
lisp/desktop.el
+3
-2
No files found.
lisp/ChangeLog
View file @
ae4370a8
2008-02-29 Juanma Barranquero <lekktu@gmail.com>
* desktop.el (desktop-save): Save the buffer name if the
uniquified base name is empty.
2008-02-29 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-info-stack-custom): Apply
function-name-face correctly when user has
"set print address off".
* progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
correctly when user has "set print address off".
2008-02-28 Juanma Barranquero <lekktu@gmail.com>
...
...
lisp/desktop.el
View file @
ae4370a8
...
...
@@ -897,8 +897,9 @@ See also `desktop-base-file-name'."
"desktop-append-buffer-args"
)
" "
desktop-file-version
)
;; If the base name is non-nil, we save it instead of the buffer name
(
when
base
(
setcar
(
nthcdr
1
l
)
base
))
;; If there's a non-empty base name, we save it instead of the buffer name
(
when
(
and
base
(
not
(
string=
base
""
)))
(
setcar
(
nthcdr
1
l
)
base
))
(
dolist
(
e
l
)
(
insert
"\n "
(
desktop-value-to-string
e
)))
(
insert
")\n\n"
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment