diff options
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ede.texi | 10 | ||||
| -rw-r--r-- | doc/misc/eieio.texi | 17 |
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 | ||
| 972 | This example project will detect any directory with the file | 970 | This 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} |
| 745 | This function retrieves the value of @var{slot} from @var{object}. | 745 | This function retrieves the value of @var{slot} from @var{object}. |
| 746 | Unlike @code{oref}, the symbol for @var{slot} must be quoted. | 746 | Unlike @code{oref}, the symbol for @var{slot} must be quoted. |
| 747 | |||
| 748 | This is a generalized variable that can be used with @code{setf} to | ||
| 749 | modify the value stored in @var{slot}. @xref{Generalized | ||
| 750 | Variables,,,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} |
| 751 | This is not a CLOS function, but is the setter for @code{slot-value} | 755 | This function sets the value of @var{slot} from @var{object}. Unlike |
| 752 | used by the @code{setf} macro. This | ||
| 753 | function 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 | |||
| 758 | This is not a CLOS function, but is the obsolete setter for | ||
| 759 | @code{slot-value} used by the @code{setf} macro. It is therefore | ||
| 760 | recommended 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}. | |||
| 1072 | This should look like Lisp symbols from other parts of Emacs such as | 1079 | This should look like Lisp symbols from other parts of Emacs such as |
| 1073 | buffers and processes, and is shorter and cleaner than printing the | 1080 | buffers and processes, and is shorter and cleaner than printing the |
| 1074 | object's record. It is more useful to use @code{object-print} to get | 1081 | object's record. It is more useful to use @code{object-print} to get |
| 1075 | and object's print form, as this allows the object to add extra display | 1082 | an object's print form, as this allows the object to add extra display |
| 1076 | information into the symbol. | 1083 | information 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, | |||
| 1227 | some functions have been provided. None of these functions are a part | 1234 | some functions have been provided. None of these functions are a part |
| 1228 | of CLOS. | 1235 | of CLOS. |
| 1229 | 1236 | ||
| 1230 | @defun object-slots obj | 1237 | @defun eieio-class-slots obj |
| 1231 | Return the list of public slots for @var{obj}. | 1238 | Return the list of public slots for @var{obj}. |
| 1232 | @end defun | 1239 | @end defun |
| 1233 | 1240 | ||