File tree Expand file tree Collapse file tree 2 files changed +1
-40
lines changed Expand file tree Collapse file tree 2 files changed +1
-40
lines changed Original file line number Diff line number Diff line change @@ -1622,7 +1622,7 @@ Frames are listed from topmost (first) to bottommost (last). */)
1622
1622
dirS = [dirS stringByExpandingTildeInPath ];
1623
1623
1624
1624
panel = isSave ?
1625
- (id )[EmacsSavePanel savePanel ] : (id )[EmacsOpenPanel openPanel ];
1625
+ (id )[NSSavePanel savePanel ] : (id )[NSOpenPanel openPanel ];
1626
1626
1627
1627
[panel setTitle: promptS];
1628
1628
@@ -3077,29 +3077,6 @@ The position is returned as a cons cell (X . Y) of the
3077
3077
return ret;
3078
3078
}
3079
3079
3080
- @implementation EmacsSavePanel
3081
- - (BOOL )performKeyEquivalent : (NSEvent *)theEvent
3082
- {
3083
- BOOL ret = handlePanelKeys (self, theEvent);
3084
- if (! ret)
3085
- ret = [super performKeyEquivalent: theEvent];
3086
- return ret;
3087
- }
3088
- @end
3089
-
3090
-
3091
- @implementation EmacsOpenPanel
3092
- - (BOOL )performKeyEquivalent : (NSEvent *)theEvent
3093
- {
3094
- // NSOpenPanel inherits NSSavePanel, so passing self is OK.
3095
- BOOL ret = handlePanelKeys (self, theEvent);
3096
- if (! ret)
3097
- ret = [super performKeyEquivalent: theEvent];
3098
- return ret;
3099
- }
3100
- @end
3101
-
3102
-
3103
3080
@implementation EmacsFileDelegate
3104
3081
/* --------------------------------------------------------------------------
3105
3082
Delegate methods for Open/Save panels
Original file line number Diff line number Diff line change @@ -595,22 +595,6 @@ typedef id instancetype;
595
595
@end
596
596
597
597
598
- /* ==========================================================================
599
-
600
- File open/save panels
601
- This and next override methods to handle keyboard input in panels.
602
-
603
- ========================================================================== */
604
-
605
- @interface EmacsSavePanel : NSSavePanel
606
- {
607
- }
608
- @end
609
- @interface EmacsOpenPanel : NSOpenPanel
610
- {
611
- }
612
- @end
613
-
614
598
@interface EmacsFileDelegate : NSObject
615
599
{
616
600
}
You can’t perform that action at this time.
0 commit comments