Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
e2247420
Commit
e2247420
authored
Oct 13, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(desktop-internal-v2s): Remove all text properties from strings.
parent
f8a0e364
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
lisp/desktop.el
lisp/desktop.el
+8
-5
No files found.
lisp/desktop.el
View file @
e2247420
...
...
@@ -216,8 +216,11 @@ the like shorter.")
and evaluated yields value. quote may be 'may (value may be quoted),
'must (values must be quoted), or nil (value may not be quoted)."
(
cond
((
or
(
numberp
val
)
(
stringp
val
)
(
null
val
)
(
eq
t
val
))
((
or
(
numberp
val
)
(
null
val
)
(
eq
t
val
))
(
cons
'may
(
prin1-to-string
val
)))
((
stringp
val
)
;; Get rid of text properties because we cannot read them
(
cons
'may
(
prin1-to-string
(
format
"%s"
val
))))
((
symbolp
val
)
(
cons
'must
(
prin1-to-string
val
)))
((
vectorp
val
)
...
...
@@ -448,10 +451,10 @@ autoloaded files."
(
defun
desktop-buffer-rmail
()
"Load an RMAIL file."
(
if
(
eq
'rmail-mode
mam
)
(
condition-case
error
(
progn
(
rmail-input
fn
)
t
)
(
file-locked
(
kill-buffer
(
current-buffer
))
'ignored
))))
(
progn
(
rmail-input
fn
)
t
)
(
file-locked
(
kill-buffer
(
current-buffer
))
'ignored
))))
;; ----------------------------------------------------------------------------
(
defun
desktop-buffer-mh
()
"Load a folder in the mh system."
(
if
(
eq
'mh-folder-mode
mam
)
...
...
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