aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ede.texi10
-rw-r--r--doc/misc/eieio.texi17
2 files changed, 16 insertions, 11 deletions
diff --git a/doc/misc/ede.texi b/doc/misc/ede.texi
index 584b0d7ee50..412176986cc 100644
--- a/doc/misc/ede.texi
+++ b/doc/misc/ede.texi
@@ -955,18 +955,16 @@ The example for Makefiles looks like this:
955;;; MAKEFILE 955;;; MAKEFILE
956 956
957(defclass ede-generic-makefile-project (ede-generic-project) 957(defclass ede-generic-makefile-project (ede-generic-project)
958 ((buildfile :initform "Makefile") 958 ((buildfile :initform "Makefile"))
959 )
960 "Generic Project for makefiles.") 959 "Generic Project for makefiles.")
961 960
962(defmethod ede-generic-setup-configuration ((proj ede-generic-makefile-project) config) 961(defmethod ede-generic-setup-configuration ((proj ede-generic-makefile-project) config)
963 "Setup a configuration for Make." 962 "Set up a configuration for Make."
964 (oset config build-command "make -k") 963 (oset config build-command "make -k")
965 (oset config debug-command "gdb ") 964 (oset config debug-command "gdb "))
966 )
967 965
968(ede-generic-new-autoloader "generic-makefile" "Make" 966(ede-generic-new-autoloader "generic-makefile" "Make"
969 "Makefile" 'ede-generic-makefile-project) 967 "Makefile" 'ede-generic-makefile-project)
970@end example 968@end example
971 969
972This example project will detect any directory with the file 970This example project will detect any directory with the file
diff --git a/doc/misc/eieio.texi b/doc/misc/eieio.texi
index 6e7d4386bec..8dd394cb848 100644
--- a/doc/misc/eieio.texi
+++ b/doc/misc/eieio.texi
@@ -744,14 +744,21 @@ slot values, and use the previously mentioned set/ref routines.
744@anchor{slot-value} 744@anchor{slot-value}
745This function retrieves the value of @var{slot} from @var{object}. 745This function retrieves the value of @var{slot} from @var{object}.
746Unlike @code{oref}, the symbol for @var{slot} must be quoted. 746Unlike @code{oref}, the symbol for @var{slot} must be quoted.
747
748This is a generalized variable that can be used with @code{setf} to
749modify the value stored in @var{slot}. @xref{Generalized
750Variables,,,elisp,GNU Emacs Lisp Reference Manual}.
747@end defun 751@end defun
748 752
749@defun set-slot-value object slot value 753@defun set-slot-value object slot value
750@anchor{set-slot-value} 754@anchor{set-slot-value}
751This is not a CLOS function, but is the setter for @code{slot-value} 755This function sets the value of @var{slot} from @var{object}. Unlike
752used by the @code{setf} macro. This
753function sets the value of @var{slot} from @var{object}. Unlike
754@code{oset}, the symbol for @var{slot} must be quoted. 756@code{oset}, the symbol for @var{slot} must be quoted.
757
758This is not a CLOS function, but is the obsolete setter for
759@code{slot-value} used by the @code{setf} macro. It is therefore
760recommended to use @w{@code{(setf (slot-value @var{object} @var{slot})
761@var{value})}} instead.
755@end defun 762@end defun
756 763
757@defun slot-makeunbound object slot 764@defun slot-makeunbound object slot
@@ -1072,7 +1079,7 @@ Return a string of the form @samp{#<object-class myobjname>} for @var{obj}.
1072This should look like Lisp symbols from other parts of Emacs such as 1079This should look like Lisp symbols from other parts of Emacs such as
1073buffers and processes, and is shorter and cleaner than printing the 1080buffers and processes, and is shorter and cleaner than printing the
1074object's record. It is more useful to use @code{object-print} to get 1081object's record. It is more useful to use @code{object-print} to get
1075and object's print form, as this allows the object to add extra display 1082an object's print form, as this allows the object to add extra display
1076information into the symbol. 1083information into the symbol.
1077@end defun 1084@end defun
1078 1085
@@ -1227,7 +1234,7 @@ objects on top of records, and thus everything is technically visible,
1227some functions have been provided. None of these functions are a part 1234some functions have been provided. None of these functions are a part
1228of CLOS. 1235of CLOS.
1229 1236
1230@defun object-slots obj 1237@defun eieio-class-slots obj
1231Return the list of public slots for @var{obj}. 1238Return the list of public slots for @var{obj}.
1232@end defun 1239@end defun
1233 1240