diff options
Diffstat (limited to 'lisp/cedet/srecode/table.el')
| -rw-r--r-- | lisp/cedet/srecode/table.el | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/cedet/srecode/table.el b/lisp/cedet/srecode/table.el index 98e0c2d1d14..82b76400522 100644 --- a/lisp/cedet/srecode/table.el +++ b/lisp/cedet/srecode/table.el | |||
| @@ -201,8 +201,8 @@ INIT are the initialization parameters for the new template table." | |||
| 201 | ;; into the search table first, allowing lower priority items | 201 | ;; into the search table first, allowing lower priority items |
| 202 | ;; to be the items found in the search table. | 202 | ;; to be the items found in the search table. |
| 203 | (object-sort-list mt 'modetables (lambda (a b) | 203 | (object-sort-list mt 'modetables (lambda (a b) |
| 204 | (> (oref a :priority) | 204 | (> (slot-value a 'priority) |
| 205 | (oref b :priority)))) | 205 | (slot-value b 'priority)))) |
| 206 | ;; Return it. | 206 | ;; Return it. |
| 207 | new)) | 207 | new)) |
| 208 | 208 | ||
| @@ -239,9 +239,9 @@ Use PREDICATE is the same as for the `sort' function." | |||
| 239 | (cl-defmethod srecode-dump ((tab srecode-mode-table)) | 239 | (cl-defmethod srecode-dump ((tab srecode-mode-table)) |
| 240 | "Dump the contents of the SRecode mode table TAB." | 240 | "Dump the contents of the SRecode mode table TAB." |
| 241 | (princ "MODE TABLE FOR ") | 241 | (princ "MODE TABLE FOR ") |
| 242 | (princ (oref tab :major-mode)) | 242 | (princ (slot-value tab 'major-mode)) |
| 243 | (princ "\n--------------------------------------------\n\nNumber of tables: ") | 243 | (princ "\n--------------------------------------------\n\nNumber of tables: ") |
| 244 | (let ((subtab (oref tab :tables))) | 244 | (let ((subtab (slot-value tab 'tables))) |
| 245 | (princ (length subtab)) | 245 | (princ (length subtab)) |
| 246 | (princ "\n\n") | 246 | (princ "\n\n") |
| 247 | (while subtab | 247 | (while subtab |
| @@ -254,17 +254,17 @@ Use PREDICATE is the same as for the `sort' function." | |||
| 254 | (princ "Template Table for ") | 254 | (princ "Template Table for ") |
| 255 | (princ (eieio-object-name-string tab)) | 255 | (princ (eieio-object-name-string tab)) |
| 256 | (princ "\nPriority: ") | 256 | (princ "\nPriority: ") |
| 257 | (prin1 (oref tab :priority)) | 257 | (prin1 (slot-value tab 'priority)) |
| 258 | (when (oref tab :application) | 258 | (when (slot-value tab 'application) |
| 259 | (princ "\nApplication: ") | 259 | (princ "\nApplication: ") |
| 260 | (princ (oref tab :application))) | 260 | (princ (slot-value tab 'application))) |
| 261 | (when (oref tab :framework) | 261 | (when (slot-value tab 'framework) |
| 262 | (princ "\nFramework: ") | 262 | (princ "\nFramework: ") |
| 263 | (princ (oref tab :framework))) | 263 | (princ (slot-value tab 'framework))) |
| 264 | (when (oref tab :project) | 264 | (when (slot-value tab 'project) |
| 265 | (require 'srecode/find) ; For srecode-template-table-in-project-p | 265 | (require 'srecode/find) ; For srecode-template-table-in-project-p |
| 266 | (princ "\nProject Directory: ") | 266 | (princ "\nProject Directory: ") |
| 267 | (princ (oref tab :project)) | 267 | (princ (slot-value tab 'project)) |
| 268 | (when (not (srecode-template-table-in-project-p tab)) | 268 | (when (not (srecode-template-table-in-project-p tab)) |
| 269 | (princ "\n ** Not Usable in this file. **"))) | 269 | (princ "\n ** Not Usable in this file. **"))) |
| 270 | (princ "\n\nVariables:\n") | 270 | (princ "\n\nVariables:\n") |