How to run hook depending on file location
问题 I am involved in python project where tabs are used, however i am not using them in every other code i write, it is vital to use them in that particular project. Projects are located in one directory under specific directories. I.E: \main_folder \project1 \project2 \project3 ...etc I have couple functions/hooks on file open and save that untabify and tabify whole buffer i work on. ;; My Functions (defun untabify-buffer () "Untabify current buffer" (interactive) (untabify (point-min) (point