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
7c3d2af2
Commit
7c3d2af2
authored
Oct 22, 1998
by
Thien-Thi Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(desktop-create-buffer): Handle old (broken) minor mode support.
parent
6e0fca1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lisp/desktop.el
lisp/desktop.el
+4
-2
No files found.
lisp/desktop.el
View file @
7c3d2af2
...
...
@@ -606,8 +606,10 @@ to provide correct modes for autoloaded files."
(
set-buffer
result
)
(
if
(
not
(
equal
(
buffer-name
)
desktop-buffer-name
))
(
rename-buffer
desktop-buffer-name
))
(
auto-fill-mode
(
if
(
nth
0
mim
)
1
0
))
(
mapcar
#'
(
lambda
(
minor-mode
)
(
funcall
minor-mode
1
))
mim
)
(
cond
((
equal
'
(
t
)
mim
)
(
auto-fill-mode
1
))
; backwards compatible
((
equal
'
(
nil
)
mim
)
(
auto-fill-mode
0
))
(
t
(
mapcar
#'
(
lambda
(
minor-mode
)
(
funcall
minor-mode
1
))
mim
)))
(
goto-char
pt
)
(
if
(
consp
mk
)
(
progn
(
set-mark
(
car
mk
))
...
...
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