SHARE
TWEET

Autoheader configuration

a guest May 21st, 2015 215 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. (setq php-tag "<?php \n \n")
  3. (setq empty-tag " \n")
  4.  
  5. (defsubst my/header-title ()
  6.   "Insert buffer's file name and leave room for a description.
  7. In `emacs-lisp-mode', this should produce the title line for library
  8. packages."
  9.   (insert
  10.    (if (eq major-mode 'php-mode)
  11.        (php-tag)
  12.    (" \n"))
  13.   (concat comment-start  " Beheer van "  (and (= 1 (length comment-start)) header-prefix-string )
  14.           (if (buffer-file-name)
  15.               (file-name-nondirectory (buffer-file-name))
  16.             (buffer-name))
  17.           " " "\n"))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top