You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDITINTERFACE--ED searches for symbols, no error when declining a loadfns (#2301)
* EDITINTERFACE--ED searches for symbols, no error when declining a loadfns
* Symbol by type menu pops up when the symbol with different package qualifiers have different types
"used in ED to stash last call info so (ED NIL) will restart last edit")
112
110
113
-
(CL:DEFUN ED (CL::NAME CL::OPTIONS) (* ; "Edited 5-Jul-88 16:03 by woz")
114
-
115
-
(* ;;; "Standard Common Lisp editor entry. CLtL say's ED does something reasonable when passed a pathname. We coerce name into something that might be the name of something with an IL:FILES definition, & try to edit that. Then save call info in ED-LAST-INFO, so (ED) will start last edit over again.")
116
-
111
+
(CL:DEFUN ED (CL::NAME &OPTIONAL (CL::OPTIONS NIL)) (* ; "Edited 2-Oct-2025 10:42 by rmk")
(* ;; "if we're supposed to offer PROPERTY-LIST as an edit type, and this name has a property list with other than system properties on it, then add IL:PROPERTY-LIST to the possible types.")
153
-
154
-
(CONS 'PROPERTY-LIST CL::TYPES-WITH-DEFNS))
155
-
(T CL::TYPES-WITH-DEFNS)))
156
-
(TYPE))
157
-
(CL:WHEN (CL:MEMBER 'PROPERTY-LIST CL::OPTIONS)
158
-
159
-
(* ;;
160
-
"this will allow PROPERTY-LIST to be specified as a fake filepkg type by the user (caller)")
161
-
162
-
(CL:SETQ CL::POSSIBLE-TYPES '(PROPERTY-LIST)))
163
-
[CL:SETQ TYPE (if (CL:MEMBER :NEW CL::OPTIONS)
164
-
then
165
-
(* ;; "if :NEW then install a blank definition first")
(find CL::X on (GETPROPLIST CL::NAME) by (CDDR CL::X)
150
+
suchthat (NULL (GET (CAR CL::X)
151
+
'PROPTYPE]
152
+
153
+
(* ;; "if we're supposed to offer PROPERTY-LIST as an edit type, and this name has a property list with other than system properties on it, then add IL:PROPERTY-LIST to the possible types.")
154
+
155
+
(CONS 'PROPERTY-LIST CL::TYPES-WITH-DEFNS))
156
+
(T CL::TYPES-WITH-DEFNS)))
157
+
(TYPE))
158
+
(CL:WHEN (CL:MEMBER 'PROPERTY-LIST CL::OPTIONS)
159
+
160
+
(* ;;
161
+
"this will allow PROPERTY-LIST to be specified as a fake filepkg type by the user (caller)")
162
+
163
+
(CL:SETQ CL::POSSIBLE-TYPES '(PROPERTY-LIST)))
164
+
[CL:UNLESS
165
+
(CL:SETQ
166
+
TYPE
167
+
(if (CL:MEMBER :NEW CL::OPTIONS)
168
+
then
169
+
(* ;; "if :NEW then install a blank definition first")
(* ;; "Used to call EDITFERROR to check for MACROS definition or install dummy FNS defintion. FNS can no longer be coerced to MACROS, and the new prototype stuff handles the other case. So if we're here, it's because EDITFB failed to find the definition, and thus NAME is not editable.")
309
342
310
343
(CL:FORMAT *ERROR-OUTPUT* "Could not find fns definition for ~a." NAME)
311
-
(ERROR "Could not find fns definition for " NAME T])
344
+
(RETURN])
312
345
313
346
(EDITF
314
347
[NLAMBDA EDITFX (* ; "Edited 11-Jun-90 15:44 by jds")
0 commit comments