.emacs-my
changeset 721 3eb929c032f4
parent 719 694f7e388f2b
parent 720 e50b78c6a53d
child 722 7d43d5ae86fe
child 723 ff912b026ad2
equal deleted inserted replaced
719:694f7e388f2b 721:3eb929c032f4
    73     (while li
    73     (while li
    74       (setq x2 (funcall f x2 (pop li)))
    74       (setq x2 (funcall f x2 (pop li)))
    75       )
    75       )
    76     x2
    76     x2
    77     ) )
    77     ) )
       
    78 
       
    79 (unless (fboundp 'ignore-errors)
       
    80   (defmacro ignore-errors (&rest body)
       
    81     "Execute BODY; if an error occurs, return nil.
       
    82 Otherwise, return result of last form in BODY."
       
    83     (declare (debug t) (indent 0))
       
    84     `(condition-case nil (progn ,@body) (error nil)))
       
    85   )
    78 
    86 
    79 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    87 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    80 (message "mode groups")
    88 (message "mode groups")
    81 
    89 
    82 (defmacro my-defun-rename-symb-tree (name doc func)
    90 (defmacro my-defun-rename-symb-tree (name doc func)