comparison lisp/make-docfile.el @ 5004:788c38f20376

Do not assume #'format-decode exists in fileio.c. src/ChangeLog addition: 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> * fileio.c (Finsert_file_contents_internal): Only call format-decode if it has a function binding. (build_annotations): Only call format-annotate-function if it has a function binding; incidentally only calling #'car-less-than-car if *it* has a function binding. (syms_of_fileio): #'car-less-than-car and #'cdr-less-than-cdr are now in Lisp. lisp/ChangeLog addition: 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> * make-docfile.el (format-decode): Remove this temporary function definition, now we check the symbol is bound in fileio.c * version.el (format-decode): Ditto. * format.el (car-less-than-car, cdr-less-than-cdr): Move these here from fileio.c, now they are only called once format.el is available.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 07 Feb 2010 23:31:50 +0000
parents ab9e8f0fb295
children e402e3506a53
comparison
equal deleted inserted replaced
5003:6b6b0f8ab749 5004:788c38f20376
75 (if (null done) 75 (if (null done)
76 (setq command-line-args (cdr (cdr command-line-args))))))) 76 (setq command-line-args (cdr (cdr command-line-args)))))))
77 (setq options (nreverse options)) 77 (setq options (nreverse options))
78 78
79 ;; (message (concat "Options: " (prin1-to-string options))) 79 ;; (message (concat "Options: " (prin1-to-string options)))
80
81 ;; insert-file-contents-internal calls out to `format-decode' afterwards,
82 ;; so it must be defined. if non-zero, it tries to do a bunch more stuff
83 ;; so say, "NOOOOOOOOOOOOO! Basta! Ca soufit! Enough, already, OK?"
84 (defun format-decode (fuck me harder) 0)
85 80
86 ;; Next process the list of C files. 81 ;; Next process the list of C files.
87 (defun process-args (args) 82 (defun process-args (args)
88 (while args 83 (while args
89 (let ((arg (car args))) 84 (let ((arg (car args)))